]> git.baikalelectronics.ru Git - kernel.git/commit
rt2x00: rework RT chipset and revision determination for PCI an SOC devices.
authorGertjan van Wingerde <gwingerde@gmail.com>
Sat, 13 Feb 2010 19:55:49 +0000 (20:55 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Feb 2010 21:14:11 +0000 (16:14 -0500)
commit6c6a7a6ba678a576ecf10fe32d831c984e3394e1
tree203bd5d436af015599f083bcb447e0ee03c91654
parentb8660cda4892fe6fa19fe54cc1e920e6749bb0d9
rt2x00: rework RT chipset and revision determination for PCI an SOC devices.

The recent rt2800 devices are no longer really identified by their PCI
ID's, but rather by the contents of their CSR0 register. Also for the
other chipsets is the contents of this CSR0 register important.
Change the chipset determination logic to be more aligned with the rt2800
model.
Preparation for the support of rt3070 / rt3090 based devices.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
14 files changed:
drivers/net/wireless/rt2x00/rt2400pci.c
drivers/net/wireless/rt2x00/rt2400pci.h
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2500pci.h
drivers/net/wireless/rt2x00/rt2500usb.c
drivers/net/wireless/rt2x00/rt2800.h
drivers/net/wireless/rt2x00/rt2800lib.c
drivers/net/wireless/rt2x00/rt2800usb.c
drivers/net/wireless/rt2x00/rt2x00.h
drivers/net/wireless/rt2x00/rt2x00debug.c
drivers/net/wireless/rt2x00/rt61pci.c
drivers/net/wireless/rt2x00/rt61pci.h
drivers/net/wireless/rt2x00/rt73usb.c
drivers/net/wireless/rt2x00/rt73usb.h