2012-04-13 15:55:59

by Yoshinori Sato

[permalink] [raw]
Subject: Please add PCI id

This device works fine of ath5k.

Details bellow
05:00.0 0200: 168c:ff1b (rev 01)
05:00.0 Ethernet controller: Atheros Communications Inc. Device ff1b (rev 01)
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: ath5k

ath5k 0000:05:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
ath5k 0000:05:00.0: setting latency timer to 64
ath5k 0000:05:00.0: registered as 'phy0'
ath: EEPROM regdomain: 0x67
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x67
ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)

Signed-off-by: Yoshinori Sato <[email protected]>

diff --git a/drivers/net/wireless/ath/ath5k/pci.c b/drivers/net/wireless/ath/ath5k/pci.c
index eaf79b4..1be418c 100644
--- a/drivers/net/wireless/ath/ath5k/pci.c
+++ b/drivers/net/wireless/ath/ath5k/pci.c
@@ -44,6 +44,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath5k_pci_id_table) = {
{ PCI_VDEVICE(ATHEROS, 0x001b) }, /* 5413 Eagle */
{ PCI_VDEVICE(ATHEROS, 0x001c) }, /* PCI-E cards */
{ PCI_VDEVICE(ATHEROS, 0x001d) }, /* 2417 Nala */
+ { PCI_VDEVICE(ATHEROS, 0xff1b) }, /* AR5BXB63 */
{ 0 }
};
MODULE_DEVICE_TABLE(pci, ath5k_pci_id_table);

--
Yoshinori Sato
<[email protected]>


2012-04-13 20:42:21

by Adrian Chadd

[permalink] [raw]
Subject: Re: Please add PCI id

Hi,

0xff1b indicates the device wasn't correctly setup post power on.

So I'd try to find out exactly why that is.



Adrian


On 13 April 2012 08:32, Yoshinori Sato <[email protected]> wrote:
> This device works fine of ath5k.
>
> Details bellow
> 05:00.0 0200: 168c:ff1b (rev 01)
> 05:00.0 Ethernet controller: Atheros Communications Inc. Device ff1b (rev 01)
> ? ? ? ?Flags: bus master, fast devsel, latency 0, IRQ 19
> ? ? ? ?Memory at febf0000 (64-bit, non-prefetchable) [size=64K]
> ? ? ? ?Capabilities: <access denied>
> ? ? ? ?Kernel driver in use: ath5k
>
> ath5k 0000:05:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
> ath5k 0000:05:00.0: setting latency timer to 64
> ath5k 0000:05:00.0: registered as 'phy0'
> ath: EEPROM regdomain: 0x67
> ath: EEPROM indicates we should expect a direct regpair map
> ath: Country alpha2 being used: 00
> ath: Regpair used: 0x67
> ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
>
> Signed-off-by: Yoshinori Sato <[email protected]>
>
> diff --git a/drivers/net/wireless/ath/ath5k/pci.c b/drivers/net/wireless/ath/ath5k/pci.c
> index eaf79b4..1be418c 100644
> --- a/drivers/net/wireless/ath/ath5k/pci.c
> +++ b/drivers/net/wireless/ath/ath5k/pci.c
> @@ -44,6 +44,7 @@ static DEFINE_PCI_DEVICE_TABLE(ath5k_pci_id_table) = {
> ? ? ? ?{ PCI_VDEVICE(ATHEROS, 0x001b) }, /* 5413 Eagle */
> ? ? ? ?{ PCI_VDEVICE(ATHEROS, 0x001c) }, /* PCI-E cards */
> ? ? ? ?{ PCI_VDEVICE(ATHEROS, 0x001d) }, /* 2417 Nala */
> + ? ? ? { PCI_VDEVICE(ATHEROS, 0xff1b) }, /* AR5BXB63 */
> ? ? ? ?{ 0 }
> ?};
> ?MODULE_DEVICE_TABLE(pci, ath5k_pci_id_table);
>
> --
> Yoshinori Sato
> <[email protected]>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at ?http://vger.kernel.org/majordomo-info.html