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>
This commit is contained in:
committed by
John W. Linville
parent
c658e5db01
commit
0b5ead91cd
@@ -104,11 +104,6 @@ enum ath_cipher {
|
||||
ATH_CIPHER_MIC = 127
|
||||
};
|
||||
|
||||
enum ath_drv_info {
|
||||
AR7010_DEVICE = BIT(0),
|
||||
AR9287_DEVICE = BIT(1),
|
||||
};
|
||||
|
||||
/**
|
||||
* struct ath_ops - Register read/write operations
|
||||
*
|
||||
@@ -153,7 +148,6 @@ struct ath_common {
|
||||
u8 rx_chainmask;
|
||||
|
||||
u32 rx_bufsize;
|
||||
u32 driver_info;
|
||||
|
||||
u32 keymax;
|
||||
DECLARE_BITMAP(keymap, ATH_KEYMAX);
|
||||
|
Reference in New Issue
Block a user