aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ath9k.h
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2013-06-13 13:21:26 -0400
committerJohn W. Linville <linville@tuxdriver.com>2013-06-14 13:37:16 -0400
commit9b60b64bfe98b9cc01b21e6126819b11a0f0a971 (patch)
tree0bde3cc834ecfba014fd1e69c6f261be3eecb6f3 /drivers/net/wireless/ath/ath9k/ath9k.h
parentb9db44784723625a331a2c9139774d1202ebad24 (diff)
ath9k: Add custom parameters for CUS198
CUS198 is a card based on AR9485. There are differences between the base reference design HB125 and CUS198. Identify such cards based on the PCI subsystem IDs and set HW parameters appropriately. Addresses this bug - https://bugzilla.kernel.org/show_bug.cgi?id=49201 Cc: jkp@iki.fi Cc: gfmichaud@gmail.com Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r--drivers/net/wireless/ath/ath9k/ath9k.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h
index a6e666bcc0a7..74965eefbd1c 100644
--- a/drivers/net/wireless/ath/ath9k/ath9k.h
+++ b/drivers/net/wireless/ath/ath9k/ath9k.h
@@ -631,6 +631,8 @@ void ath_ant_comb_update(struct ath_softc *sc);
631/* Main driver core */ 631/* Main driver core */
632/********************/ 632/********************/
633 633
634#define ATH9K_PCI_CUS198 0x0001
635
634/* 636/*
635 * Default cache line size, in bytes. 637 * Default cache line size, in bytes.
636 * Used when PCI device not fully initialized by bootrom/BIOS 638 * Used when PCI device not fully initialized by bootrom/BIOS
@@ -715,6 +717,7 @@ struct ath_softc {
715 717
716 unsigned int hw_busy_count; 718 unsigned int hw_busy_count;
717 unsigned long sc_flags; 719 unsigned long sc_flags;
720 unsigned long driver_data;
718 721
719 u32 intrstatus; 722 u32 intrstatus;
720 u16 ps_flags; /* PS_* */ 723 u16 ps_flags; /* PS_* */