Skip to contentSkip to conversation

ath5k: Move PCI bus functions to separate file.

PATCH In review Wojciech Dubowik 1 participant 1 message Dec 2, 2010 1 message not in the archive Atheros ATH5K wireless driver

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 4529506.1201291281854618.JavaMail.wlan@CHBU500181

#1 lore raw

PATCH v7 3/9 ath5k: Move PCI bus functions to separate file.

From: Felix Fietkau <[email protected]>

---
 drivers/net/wireless/ath/ath5k/Makefile |    1 +
 drivers/net/wireless/ath/ath5k/ath5k.h  |    3 +
 drivers/net/wireless/ath/ath5k/base.c   |  267 +-----------------------------
 drivers/net/wireless/ath/ath5k/pci.c    |  284 +++++++++++++++++++++++++++++++
 4 files changed, 289 insertions(+), 266 deletions(-)
 create mode 100644 drivers/net/wireless/ath/ath5k/pci.c
drivers/net/wireless/ath/ath5k/Makefile +1 -0
index 2242a14..dae881c 100644
@@ -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 +3 -0
index a74f448..ee3c0af 100644
@@ -1145,6 +1145,7 @@ struct ath5k_hw {
 /*
  * Prototypes
  */
+extern const struct ieee80211_ops ath5k_hw_ops;
 
 /* Initialization and detach functions */
 int ath5k_init_softc(struct ath5k_softc *sc, const struct ath_bus_ops *bus_ops);
@@ -1155,6 +1156,8 @@ void ath5k_hw_deinit(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);
drivers/net/wireless/ath/ath5k/base.c +1 -266

294 lines not on this page · raw message

drivers/net/wireless/ath/ath5k/pci.c new file +284 -0

284 lines not on this page · raw message

Signature · 1 line
1.7.1