]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
ath9k_htc: Cleanup device identification
authorSujith Manoharan <Sujith.Manoharan@atheros.com>
Tue, 7 Dec 2010 11:01:38 +0000 (16:31 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 7 Dec 2010 22:08:06 +0000 (17:08 -0500)
commit0b5ead91cda63e0db964dadc77601233434f60cb
tree989e877003120c769f8d155dee129033f96029f2
parentc658e5db01117bf2a321a9a782754dd5b10e2f15
ath9k_htc: Cleanup device identification

ath.ko is a common module shared between ath5k, ar9170usb, ath9k and ath9k_htc.
Adding driver specific data to the shared structure would impact all the
drivers. Handling USB device recognition for devices specific to ath9k_htc
can be handled within the driver itself.

Also, AR7010 refers to the processor used in both AR9280/AR9287 based
devices. Rename the device enumerations accordingly.

While at it, check properly for the bus type when choosing the EEPROM
base address for UB95.

Signed-off-by: Sujith Manoharan <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath.h
drivers/net/wireless/ath/ath9k/eeprom_9287.c
drivers/net/wireless/ath/ath9k/hif_usb.c
drivers/net/wireless/ath/ath9k/hif_usb.h
drivers/net/wireless/ath/ath9k/htc_drv_init.c
drivers/net/wireless/ath/ath9k/hw.h
drivers/net/wireless/ath/ath9k/reg.h