ath9k_htc: Identify devices using driver_info
authorRajkumar Manoharan <rmanoharan@atheros.com>
Fri, 19 Nov 2010 11:23:22 +0000 (16:53 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Nov 2010 21:19:41 +0000 (16:19 -0500)
commitfa6e15e0b5952fd2cd99fc6d4f4473f6b9da18df
treed639e9f353110de10c3cefa8de4a1c2cd8280473
parentf7ec8fb4d6f8f3ecb8b11e9e46ece95aa66139cc
ath9k_htc: Identify devices using driver_info

Categorize AR7010 & AR9287 devices based on driver_info
of usb_device_id, instead of PIDs. This avoids per-device cases
and minimize code changes for new device addition.

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