at first thx @Bob for extracting LED-code

know i wonder why no LED with my AR5213,not before i apply attached patch it
works fine with my Thinkpad T42...

02:02.0 Ethernet controller [0200]: Atheros Communications Inc. Atheros 
AR5001X+ Wireless Network Adapter [168c:0013] (rev 01)
        Subsystem: Askey Computer Corp. Device [144f:7005]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- 
Stepping- SERR+ FastB2B- DisINTx-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- 
<TAbort- <MAbort- >SERR- <PERR- INTx-
        Latency: 168 (2500ns min, 7000ns max), Cache Line Size: 32 bytes
        Interrupt: pin A routed to IRQ 10
        Region 0: Memory at c0210000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: <access denied>
        Kernel driver in use: ath5k
        Kernel modules: ath5k, ath_pci


--- a/drivers/net/wireless/ath5k/ath5k.h	2009-03-30 20:44:43.000000000 +0200
+++ b/drivers/net/wireless/ath5k/ath5k.h	2009-03-31 01:12:04.000000000 +0200
@@ -41,6 +41,7 @@
 #define PCI_DEVICE_ID_ATHEROS_AR5311 		0x0011 /* AR5311 */
 #define PCI_DEVICE_ID_ATHEROS_AR5211 		0x0012 /* AR5211 */
 #define PCI_DEVICE_ID_ATHEROS_AR5212 		0x0013 /* AR5212 */
+#define PCI_DEVICE_ID_ATHEROS_AR5213		0x0013 /* AR5213 (Atheros AR5001X+) */
 #define PCI_DEVICE_ID_3COM_3CRDAG675 		0x0013 /* 3CRDAG675 (Atheros AR5212) */
 #define PCI_DEVICE_ID_3COM_2_3CRPAG175 		0x0013 /* 3CRPAG175 (Atheros AR5212) */
 #define PCI_DEVICE_ID_ATHEROS_AR5210_AP 	0x0207 /* AR5210 (Early) */
--- a/drivers/net/wireless/ath5k/led.c	2009-03-30 20:44:43.000000000 +0200
+++ b/drivers/net/wireless/ath5k/led.c	2009-03-31 01:43:00.000000000 +0200
@@ -57,6 +57,8 @@
 	{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5212_IBM), ATH_LED(0, 0) },
 	/* AR5211 */
 	{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5211), ATH_LED(0, 0) },
+	/* AR5213 (Atheros AR5001X+) */
+	{ PCI_VDEVICE(ATHEROS, PCI_DEVICE_ID_ATHEROS_AR5213), ATH_LED(0, 0) },
 	/* HP Compaq nc6xx, nc4000, nx6000 */
 	{ ATH_SDEVICE(PCI_VENDOR_ID_COMPAQ, PCI_ANY_ID), ATH_LED(1, 1) },
 	/* Acer Aspire One A150 (maximlevit...@gmail.com) */
_______________________________________________
ath5k-devel mailing list
ath5k-devel@lists.ath5k.org
https://lists.ath5k.org/mailman/listinfo/ath5k-devel

Reply via email to