Skip to contentSkip to conversation

ath5k: Use our own Kconfig file, we'll be expanding this shortly

PATCH In review Luis R. Rodriguez 1 participant 1 message Feb 1, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ath5k: Use our own Kconfig file, we'll be expanding this shortly

Use our own Kconfig file, we'll be expanding this shortly.

---
 drivers/net/wireless/Kconfig        |   18 +-----------------
 drivers/net/wireless/ath5k/Kconfig  |   17 +++++++++++++++++
 drivers/net/wireless/ath5k/Makefile |    8 ++++++--
 3 files changed, 24 insertions(+), 19 deletions(-)
 create mode 100644 drivers/net/wireless/ath5k/Kconfig
drivers/net/wireless/Kconfig +1 -17
index 9b1e042..836d862 100644
@@ -740,23 +740,7 @@ config P54_PCI
 
 	  If you choose to build a module, it'll be called p54pci.
 
-config ATH5K
-	tristate "Atheros 5xxx wireless cards support"
-	depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
-	---help---
-	  This module adds support for wireless adapters based on
-	  Atheros 5xxx chipset.
-
-	  Currently the following chip versions are supported:
-
-	  MAC: AR5211 AR5212
-	  PHY: RF5111/2111 RF5112/2112 RF5413/2413
-
-	  This driver uses the kernel's mac80211 subsystem.
-
-	  If you choose to build a module, it'll be called ath5k. Say M if
-	  unsure.
-
+source "drivers/net/wireless/ath5k/Kconfig"
 source "drivers/net/wireless/iwlwifi/Kconfig"
 source "drivers/net/wireless/hostap/Kconfig"
 source "drivers/net/wireless/bcm43xx/Kconfig"
drivers/net/wireless/ath5k/Kconfig new file +17 -0
new file mode 100644
index 0000000..55f0c09
@@ -0,0 +1,17 @@
+
+config ATH5K
+	tristate "Atheros 5xxx wireless cards support"
+	depends on PCI && MAC80211 && WLAN_80211 && EXPERIMENTAL
+	---help---
+	  This module adds support for wireless adapters based on
+	  Atheros 5xxx chipset.
+
+	  Currently the following chip versions are supported:
+
+	  MAC: AR5211 AR5212
+	  PHY: RF5111/2111 RF5112/2112 RF5413/2413
+
+	  This driver uses the kernel's mac80211 subsystem.
+
+	  If you choose to build a module, it'll be called ath5k. Say M if
+	  unsure.
drivers/net/wireless/ath5k/Makefile +6 -2
index ada1095..564ecd0 100644
@@ -1,2 +1,6 @@
-ath5k-objs		= base.o hw.o initvals.o phy.o debug.o
-obj-$(CONFIG_ATH5K)	+= ath5k.o
+ath5k-y				+= base.o
+ath5k-y				+= hw.o
+ath5k-y				+= initvals.o
+ath5k-y				+= phy.o
+ath5k-$(CONFIG_ATH5K_DEBUG)	+= debug.o
+obj-$(CONFIG_ATH5K)		+= ath5k.o
Signature · 1 line
1.5.3.7