From: Hauke Mehrtens <hauke@hauke-m.de>
To: "Luis R. Rodriguez" <mcgrof@gmail.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: [PATCH] compat-2.6: Add AR9170 driver
Date: Tue, 24 Mar 2009 01:19:37 +0100 [thread overview]
Message-ID: <49C82719.3080108@hauke-m.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 58 bytes --]
This adds the AR9170 driver to compat-wireless.
Hauke
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-Add-AR9170-driver.patch --]
[-- Type: text/x-diff; name="0001-Add-AR9170-driver.patch", Size: 1557 bytes --]
From 7e9fb52516801f4dcc0c200ce8911d24ec472bc7 Mon Sep 17 00:00:00 2001
From: Hauke Mehrtens <hauke@hauke-m.de>
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@hauke-m.de>
---
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 898 bytes --]
next reply other threads:[~2009-03-24 0:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-24 0:19 Hauke Mehrtens [this message]
2009-03-24 0:40 ` [PATCH] compat-2.6: Add AR9170 driver Luis R. Rodriguez
2009-03-24 1:11 ` Luis R. Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49C82719.3080108@hauke-m.de \
--to=hauke@hauke-m.de \
--cc=linux-wireless@vger.kernel.org \
--cc=mcgrof@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).