ath5k: Introduce ath5k_init_softc function as in ath9k
authorFelix Fietkau <nbd@openwrt.org>
Thu, 2 Dec 2010 09:26:56 +0000 (10:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 2 Dec 2010 20:17:50 +0000 (15:17 -0500)
commit132b1c3ee38ea6fa0501004fd0f19acb554e5a44
tree3bb52a5ef7738b56581f17ffeececbf647f34a97
parentaeae4ac9090462ea38387dcdbac4f01b944af6a4
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>
drivers/net/wireless/ath/ath5k/ath5k.h
drivers/net/wireless/ath/ath5k/attach.c
drivers/net/wireless/ath/ath5k/base.c
drivers/net/wireless/ath/ath5k/base.h
drivers/net/wireless/ath/ath5k/eeprom.c