Skip to contentSkip to conversation

ar9170: update Makefile, Kconfig and MAINTAINERS

RFC PATCH In review Christian Lamparter 1 participant 2 messages Mar 17, 2009 – Mar 20, 2009 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

RFC PATCH 5/5 ar9170: update Makefile, Kconfig and MAINTAINERS

update Makefile, Kconfig and MAINTAINERS files
---

MAINTAINERS +8 -0
index 1c2ca1d..b4f3699 100644
@@ -765,6 +765,14 @@ L:	[email protected]
 L:	[email protected]
 S:	Supported
 
+ATHEROS AR9170 WIRELESS DRIVER
+P:	Christian Lamparter
+M:	[email protected]
+L:	[email protected]
+W:	http://wireless.kernel.org/en/users/Drivers/ar9170
+S:	Maintained
+F:	drivers/net/wireless/ar9170/
+
 ATI_REMOTE2 DRIVER
 P:	Ville Syrjala
 M:	[email protected]
drivers/net/wireless/Kconfig +1 -0
index 612fffe..8a08235 100644
@@ -485,6 +485,7 @@ config MWL8K
 source "drivers/net/wireless/p54/Kconfig"
 source "drivers/net/wireless/ath5k/Kconfig"
 source "drivers/net/wireless/ath9k/Kconfig"
+source "drivers/net/wireless/ar9170/Kconfig"
 source "drivers/net/wireless/ipw2x00/Kconfig"
 source "drivers/net/wireless/iwlwifi/Kconfig"
 source "drivers/net/wireless/hostap/Kconfig"
drivers/net/wireless/Makefile +1 -0
index d780487..5e7c9ac 100644
@@ -57,5 +57,6 @@ obj-$(CONFIG_P54_COMMON)	+= p54/
 
 obj-$(CONFIG_ATH5K)	+= ath5k/
 obj-$(CONFIG_ATH9K)	+= ath9k/
+obj-$(CONFIG_AR9170_COMMON)	+= ar9170/
 
 obj-$(CONFIG_MAC80211_HWSIM)	+= mac80211_hwsim.o
drivers/net/wireless/ar9170/Kconfig new file +23 -0
new file mode 100644
index 0000000..bc77741
@@ -0,0 +1,23 @@
+config AR9170_COMMON
+	tristate "Atheros AR9170 support"
+	depends on WLAN_80211 && MAC80211 && FW_LOADER && EXPERIMENTAL
+	help
+	  This is common code for AR9170 based devices.
+	  This module does nothing by itself - the USB/(SPI) frontends
+	  also need to be enabled in order to support any devices.
+
+	  These devices require firmware which can be found in the offical
+	  driver wiki at:
+	  http://wireless.kernel.org/en/users/Drivers/ar9170
+
+	  Say Y if you have the hardware, or M to build a module called
+	  ar9170common.
+
+config AR9170_USB
+	tristate "Atheros AR9170 USB support"
+	depends on AR9170_COMMON && USB
+	help
+	  This is a mac80211-based driver for the Atheros "otus" 802.11n
+	  (2.4 and 5 GHz) USB devices.
+
+	  If you choose to build a module, it'll be called ar9170usb.
drivers/net/wireless/ar9170/Makefile new file +6 -0
new file mode 100644
index 0000000..4af4217
@@ -0,0 +1,6 @@
+ar9170common-objs += main.o cmd.o mac.o phy.o led.o
+ar9170usb-objs += usb.o
+
+obj-$(CONFIG_AR9170_COMMON) += ar9170common.o
+obj-$(CONFIG_AR9170_USB) += ar9170usb.o
+
#1 lore raw

RFC PATCH v5 5/5 ar9170: update Makefile, Kconfig and MAINTAINERS

update Makefile, Kconfig and MAINTAINERS files
---

MAINTAINERS +8 -0
index 1ba59d8..f0b1c45 100644
@@ -765,6 +765,14 @@ L:	[email protected]
 L:	[email protected]
 S:	Supported
 
+ATHEROS AR9170 WIRELESS DRIVER
+P:	Christian Lamparter
+M:	[email protected]
+L:	[email protected]
+W:	http://wireless.kernel.org/en/users/Drivers/ar9170
+S:	Maintained
+F:	drivers/net/wireless/ar9170/
+
 ATI_REMOTE2 DRIVER
 P:	Ville Syrjala
 M:	[email protected]
drivers/net/wireless/Kconfig +1 -0
index 612fffe..8a08235 100644
@@ -485,6 +485,7 @@ config MWL8K
 source "drivers/net/wireless/p54/Kconfig"
 source "drivers/net/wireless/ath5k/Kconfig"
 source "drivers/net/wireless/ath9k/Kconfig"
+source "drivers/net/wireless/ar9170/Kconfig"
 source "drivers/net/wireless/ipw2x00/Kconfig"
 source "drivers/net/wireless/iwlwifi/Kconfig"
 source "drivers/net/wireless/hostap/Kconfig"
drivers/net/wireless/Makefile +1 -0
index d780487..5e7c9ac 100644
@@ -57,5 +57,6 @@ obj-$(CONFIG_P54_COMMON)	+= p54/
 
 obj-$(CONFIG_ATH5K)	+= ath5k/
 obj-$(CONFIG_ATH9K)	+= ath9k/
+obj-$(CONFIG_AR9170_COMMON)	+= ar9170/
 
 obj-$(CONFIG_MAC80211_HWSIM)	+= mac80211_hwsim.o
drivers/net/wireless/ar9170/Kconfig new file +28 -0
new file mode 100644
index 0000000..f661187
@@ -0,0 +1,28 @@
+config AR9170_COMMON
+	tristate "Atheros AR9170 support"
+	depends on WLAN_80211 && MAC80211 && EXPERIMENTAL
+	help
+	  This is common code for AR9170 based devices.
+	  This module does nothing by itself - the USB/(SPI) frontends
+	  also need to be enabled in order to support any devices.
+
+	  Say Y if you have the hardware, or M to build a module called
+	  ar9170common.
+
+config AR9170_USB
+	tristate "Atheros AR9170 USB support"
+	depends on AR9170_COMMON && USB
+	select FW_LOADER
+	help
+	  This is a driver for the Atheros "otus" 802.11n USB devices.
+
+	  These devices require additional firmware (2 files).
+	  For now, these files can be downloaded from here:
+	  http://wireless.kernel.org/en/users/Drivers/ar9170
+
+	  If you choose to build a module, it'll be called ar9170usb.
+
+config AR9170_LEDS
+	bool
+	depends on AR9170_COMMON && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = AR9170_COMMON)
+	default y
drivers/net/wireless/ar9170/Makefile new file +5 -0
new file mode 100644
index 0000000..3f0e468
@@ -0,0 +1,5 @@
+ar9170common-objs += main.o cmd.o mac.o phy.o led.o
+ar9170usb-objs += usb.o
+
+obj-$(CONFIG_AR9170_COMMON) += ar9170common.o
+obj-$(CONFIG_AR9170_USB) += ar9170usb.o