aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/base.h
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-02 04:26:56 -0500
committerJohn W. Linville <linville@tuxdriver.com>2010-12-02 15:17:50 -0500
commit132b1c3ee38ea6fa0501004fd0f19acb554e5a44 (patch)
tree3bb52a5ef7738b56581f17ffeececbf647f34a97 /drivers/net/wireless/ath/ath5k/base.h
parentaeae4ac9090462ea38387dcdbac4f01b944af6a4 (diff)
ath5k: Introduce ath5k_init_softc function as in ath9k
Split pci initialization into hardware specific functions and softc structure initialization. Make function naming similar to ones ath9k. Introduce ath_bus_opts in ath5k for later AHB bus integration. Signed-off-by: Felix Fietkau <nbd@openwrt.org> Signed-off-by: Wojciech Dubowik <Wojciech.Dubowik@neratec.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/base.h')
-rw-r--r--drivers/net/wireless/ath/ath5k/base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath5k/base.h b/drivers/net/wireless/ath/ath5k/base.h
index 0362f8eb9510..aa6c32aafb59 100644
--- a/drivers/net/wireless/ath/ath5k/base.h
+++ b/drivers/net/wireless/ath/ath5k/base.h
@@ -172,6 +172,7 @@ struct ath5k_softc {
172 struct pci_dev *pdev; 172 struct pci_dev *pdev;
173 struct device *dev; /* for dma mapping */ 173 struct device *dev; /* for dma mapping */
174 int irq; 174 int irq;
175 u16 devid;
175 void __iomem *iobase; /* address of the device */ 176 void __iomem *iobase; /* address of the device */
176 struct mutex lock; /* dev-level lock */ 177 struct mutex lock; /* dev-level lock */
177 struct ieee80211_hw *hw; /* IEEE 802.11 common */ 178 struct ieee80211_hw *hw; /* IEEE 802.11 common */