Search Linux Wireless

[PATCH] compat-2.6: Add AR9170 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This adds the AR9170 driver to compat-wireless.

Hauke
From 7e9fb52516801f4dcc0c200ce8911d24ec472bc7 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@xxxxxxxxxx>
Date: Tue, 24 Mar 2009 01:14:41 +0100
Subject: [PATCH] Add AR9170 driver.
 The AR9170 configuration is only activated on kernel 2.6.28 and later, because the older kernel misses some needed functions.


Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>
---
 config.mk               |    8 ++++++++
 scripts/admin-update.sh |    1 +
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/config.mk b/config.mk
index 84bf609..d8b705a 100644
--- a/config.mk
+++ b/config.mk
@@ -259,6 +259,14 @@ CONFIG_RTL8187=m
 
 CONFIG_AT76C50X_USB=m
 
+# Activate AR9170 support only on kernel >= 2.6.28.
+# The needed USB poison feature was added in this kernel release.
+ifeq ($(shell test $(KERNEL_SUBLEVEL) -ge 28 && echo yes),yes)
+CONFIG_AR9170_COMMON=m
+CONFIG_AR9170_USB=m
+CONFIG_AR9170_LEDS=y
+endif
+
 # RT2500USB does not require firmware
 CONFIG_RT2500USB=m
 CONFIG_RT2800USB=m
diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh
index 0226053..881db66 100755
--- a/scripts/admin-update.sh
+++ b/scripts/admin-update.sh
@@ -59,6 +59,7 @@ DRIVERS="$DRIVERS drivers/net/wireless/p54"
 DRIVERS="$DRIVERS drivers/net/wireless/rtl818x"
 DRIVERS="$DRIVERS drivers/net/wireless/libertas_tf"
 DRIVERS="$DRIVERS drivers/net/wireless/ipw2x00"
+DRIVERS="$DRIVERS drivers/net/wireless/ar9170"
 
 # Drivers that belong the the wireless directory
 DRIVER_FILES="adm8211.c  adm8211.h"
-- 
1.5.6.3

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux