From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Golle Date: Tue, 11 Oct 2011 14:36:45 +0200 Subject: [ath9k-devel] AR9380 appears as product id 0xABCD instead of 0x0030 In-Reply-To: <0880e202-fdc7-40ac-a6cd-955767e8ac7c@CHB500181> References: <0880e202-fdc7-40ac-a6cd-955767e8ac7c@CHB500181> Message-ID: <4E94385D.60808@allnet.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org Sure, that's what I did already to make it work at least a bit, but run into DMA problems once there was any serious traffic (using Kernel 2.6.39 and compat-wireless 2011-06-20) Kernel 3.0.4 with compat-wireless 2011-10-05 seems to work quite nice, at least for now... I'll continue testing that in the next days. On 10/11/2011 09:58 AM, Wojciech Dubowik wrote: >> Hi! >> I want to use an AR9380 mini pci-e module on kirkwood. under x86 the >> module >> works fine and appears as product-id 0x0030, on kirkwood the same >> module shows >> up as product-id 0xabcd. >> Anyone knows possible reasons for this to happen? >> (First I suspected there could be an PCI expansion ROM executed by >> the x86 BIOS, >> that doesn't seem to be that case.) >> Any hints welcome :) > > You could use sth like that in your setup. > > --- > Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/pci.c > =================================================================== > --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath9k/pci.c 2011-05-31 21:02:34.000000000 +0200 > +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/pci.c 2011-06-06 12:58:57.578412992 +0200 > @@ -30,6 +30,7 @@ > { PCI_VDEVICE(ATHEROS, 0x002D) }, /* PCI */ > { PCI_VDEVICE(ATHEROS, 0x002E) }, /* PCI-E */ > { PCI_VDEVICE(ATHEROS, 0x0030) }, /* PCI-E AR9300 */ > + { PCI_VDEVICE(ATHEROS, 0xABCD) }, /* PCI-E AR9380 */ > { PCI_VDEVICE(ATHEROS, 0x0032) }, /* PCI-E AR9485 */ > { 0 } > }; > Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.c > =================================================================== > --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath9k/hw.c 2011-06-06 12:58:50.000000000 +0200 > +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.c 2011-06-06 13:00:12.568412970 +0200 > @@ -653,6 +653,7 @@ > case AR2427_DEVID_PCIE: > case AR9300_DEVID_PCIE: > case AR9300_DEVID_AR9485_PCIE: > + case AR9300_DEVID_AR9380_PCIE: > case AR9300_DEVID_AR9330: > case AR9300_DEVID_AR9340: > break; > Index: compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.h > =================================================================== > --- compat-wireless-2011-05-27.orig/drivers/net/wireless/ath/ath9k/hw.h 2011-06-06 12:58:50.000000000 +0200 > +++ compat-wireless-2011-05-27/drivers/net/wireless/ath/ath9k/hw.h 2011-06-06 12:58:57.578412992 +0200 > @@ -44,6 +44,7 @@ > #define AR9287_DEVID_PCIE 0x002e > #define AR9300_DEVID_PCIE 0x0030 > #define AR9300_DEVID_AR9340 0x0031 > +#define AR9300_DEVID_AR9380_PCIE 0xabcd > #define AR9300_DEVID_AR9485_PCIE 0x0032 > #define AR9300_DEVID_AR9330 0x0035 > --- > > > It has worked for me on kirkwood platform. > > Wojtek > > >> >> Cheers >> >> Daniel >> _______________________________________________ >> ath9k-devel mailing list >> ath9k-devel at lists.ath9k.org >> https://lists.ath9k.org/mailman/listinfo/ath9k-devel >>