From owner-freebsd-current@FreeBSD.ORG Fri Apr 1 07:51:03 2011 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94DB7106566B for ; Fri, 1 Apr 2011 07:51:03 +0000 (UTC) (envelope-from ray@dlink.ua) Received: from dlink.ua (smtp.dlink.ua [193.138.187.146]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0348FC16 for ; Fri, 1 Apr 2011 07:51:02 +0000 (UTC) Received: from gw-lan1.kiev.dlink.ua ([192.168.10.10] helo=terran.dlink.ua) by dlink.ua with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Q5Z8F-0002FM-8t; Fri, 01 Apr 2011 10:50:59 +0300 Date: Fri, 1 Apr 2011 10:50:54 +0300 From: Aleksandr Rybalko To: PseudoCylon Message-Id: <20110401105054.d06428f3.ray@dlink.ua> In-Reply-To: <84134.72949.qm@web39308.mail.mud.yahoo.com> References: <20110331213148.B330A106579B@hub.freebsd.org> <84134.72949.qm@web39308.mail.mud.yahoo.com> Organization: D-Link X-Mailer: Sylpheed 2.7.1 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aleksandr Rybalko , freebsd-current@freebsd.org, Venture37 , Sevan Subject: Re: [CFT]RT28xx/RT30xx wireless was [CFR]RT305xF support, w/o attachment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Apr 2011 07:51:03 -0000 On Thu, 31 Mar 2011 23:44:03 -0700 (PDT) PseudoCylon wrote: >> > > rt28600: mem 0xf7f00000-0xf7f0ffff irq 17 at >> > > device 0.0 on pci3 >> > > rt28600: invalid EEPROM LNA gain #2: 0x00 >> > > rt28600: invalid EEPROM LNA gain #3: 0x00 >> > > rt28600: invalid EEPROM powersave level >> > > rt28600: MAC/BBP RT2860 (rev 0x28720200), RF RT3022 2.4G 2T2R >> > Wow, your device have same revision 0x28720200 like embedded into >> > RT3052F system on chip. >> > So now I understand, why driver won't work with your card. >> > I previously expect that this id related only for SoC version, but SoC >> > version don't have many things that PCI version have (MCU, EEPROM, >> > etc.) >> > >> >> Hi, >> >> I have 0x28720200 calling rt2872_rf_set_chan() instead of rt2860_rf_set_chan(). >> And, 0x2000 for initial RT2860_REG_MAX_LEN value in rt2860_init_locked(). >> >> If these are correct I can patch the driver up. Basic problem here is a usage external EEPROM data(instead read from real EEPROM) and direct BBP control(instead use MCU). So currently prefer to use Alexander Egorenkov version, until we done porting OpenBSD one and join it with ral(4) code. >> >> AK >> -- Alexandr Rybalko aka Alex RAY