diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2010-04-01 10:28:20 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-04-06 16:55:09 -0400 |
commit | 497ad9adf44013dc9054f80c627acc44d4c90d37 (patch) | |
tree | 9690a124fe37329de7538ff67f4b32dbb56a9924 /drivers/net/wireless/ath/ath.h | |
parent | 32ffb1f4488b0727bcfc67a025becc0db3df7a17 (diff) | |
download | linux-3.10-497ad9adf44013dc9054f80c627acc44d4c90d37.tar.gz linux-3.10-497ad9adf44013dc9054f80c627acc44d4c90d37.tar.bz2 linux-3.10-497ad9adf44013dc9054f80c627acc44d4c90d37.zip |
ath: Add a bus type field
This can be used to store the bus types ( AHB/PCI/USB ).
Signed-off-by: Sujith <Sujith.Manoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath.h')
-rw-r--r-- | drivers/net/wireless/ath/ath.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/drivers/net/wireless/ath/ath.h b/drivers/net/wireless/ath/ath.h index 71fc960814f..1fbf6b1f9a7 100644 --- a/drivers/net/wireless/ath/ath.h +++ b/drivers/net/wireless/ath/ath.h @@ -48,6 +48,12 @@ enum ath_device_state { ATH_HW_INITIALIZED, }; +enum ath_bus_type { + ATH_PCI, + ATH_AHB, + ATH_USB, +}; + struct reg_dmn_pair_mapping { u16 regDmnEnum; u16 reg_5ghz_ctl; @@ -73,9 +79,10 @@ struct ath_ops { struct ath_common; struct ath_bus_ops { - void (*read_cachesize)(struct ath_common *common, int *csz); - bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); - void (*bt_coex_prep)(struct ath_common *common); + enum ath_bus_type ath_bus_type; + void (*read_cachesize)(struct ath_common *common, int *csz); + bool (*eeprom_read)(struct ath_common *common, u32 off, u16 *data); + void (*bt_coex_prep)(struct ath_common *common); }; struct ath_common { |