ath5k: AHB port. Move pci related functions to separate file.
A message that is not in the archive (sent off-list or not yet received): 21800237.971289487370894.JavaMail.wlan@CHBU500181
PATCH 3/9 ath5k: AHB port. Move pci related functions to separate file.
Separate PCI related functions from base into own file.
Signed-off-by Wojciech Dubowik <[email protected]>
--- drivers/net/wireless/ath/ath5k/Makefile | 1 + drivers/net/wireless/ath/ath5k/ath5k.h | 6 + drivers/net/wireless/ath/ath5k/base.c | 269 +----------------------------- drivers/net/wireless/ath/ath5k/pci.c | 285 +++++++++++++++++++++++++++++++ 4 files changed, 294 insertions(+), 267 deletions(-) create mode 100644 drivers/net/wireless/ath/ath5k/pci.c
drivers/net/wireless/ath/ath5k/Makefile +1 -0
@@ -15,4 +15,5 @@ ath5k-y += rfkill.o ath5k-y += ani.o ath5k-y += sysfs.o ath5k-$(CONFIG_ATH5K_DEBUG) += debug.o +ath5k-y += pci.o obj-$(CONFIG_ATH5K) += ath5k.o
drivers/net/wireless/ath/ath5k/ath5k.h +6 -0
@@ -1131,14 +1131,20 @@ struct ath5k_hw {/* * Prototypes */ +extern const struct ieee80211_ops ath5k_hw_ops;/* Attach/Detach Functions */ +int ath5k_attach (struct ath5k_softc *sc,const struct ath_bus_ops *bus_ops); +void ath5k_detach (struct ath5k_softc *sc);int ath5k_hw_attach (struct ath5k_softc *sc);void ath5k_hw_detach (struct ath5k_hw *ah);int ath5k_sysfs_register (struct ath5k_softc *sc);void ath5k_sysfs_unregister (struct ath5k_softc *sc); +/*chip id helper function */ +const char *ath5k_chip_name (enum ath5k_srev_type type,u_int16_t val); +/* LED functions */ int ath5k_init_leds (struct ath5k_softc *sc);void ath5k_led_enable (struct ath5k_softc *sc);
drivers/net/wireless/ath/ath5k/base.c +2 -267
302 lines not on this page · raw message
drivers/net/wireless/ath/ath5k/pci.c new file +285 -0
285 lines not on this page · raw message
Signature · 1 line
1.7.1
Quoted 3 lines · Wojciech Dubowik
Separate PCI related functions from base into own file.
Signed-off-by Wojciech Dubowik <[email protected]>
Acked-by Bob Copeland <[email protected]>
Signature · 1 line
Bob Copeland %% www.bobcopeland.com