compat-2.6: ath9k driver
Subsystems (2)
I just got a new HP dv5z laptop with a/b/g/n wifi adapter; it claims to be an AR5009. Googling for the PCI ID (0x002a) matched it up with AR9280, which led me to the ath9k driver. It's not currently provided with the compat-2.6 tree but I pulled a copy from the wireless-testing branch and added it to my compat tree.
It needed 3-4 definitions to be added to <linux/list.h> but otherwise compiled OK and it's now working fine for me in 2.6.26.3. Did you already have plans to include this driver, should I post my diffs?
Signature · 4 lines
-- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
PATCH 1/1 compat-2.6: enable ath9k
This patch enables building the wireless-testing ath9k driver with the compat-wireless tarball at http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08/compat-wireless-2008-08-06.tar.bz2
In addition to applying this patch, you must also copy the drivers/net/wireless/ath9k directory from the wireless-testing image into the compat-wireless tree. Just posting this for posterity since it seems that it won't be needed for much longer.
---
config.mk +1 -0
@@ -72,6 +72,8 @@ CONFIG_ATH5K=m CONFIG_ATH5K_DEBUG=n +CONFIG_ATH9K=m + # Required for older kernels which still use this flag. CONFIG_IWLWIFI=m Only in compat-wireless-2008-08-06.N/drivers/net/wireless: ath9k
drivers/net/wireless/Makefile +1 -0
@@ -29,5 +29,6 @@ obj-$(CONFIG_P54_COMMON) += p54/ obj-$(CONFIG_ATH5K) += ath5k/ +obj-$(CONFIG_ATH9K) += ath9k/ obj-$(CONFIG_MAC80211_HWSIM) += mac80211_hwsim.o
include/net/compat.h +46 -0
52 lines not on this page · raw message
Signature · 4 lines
-- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
Re: [PATCH] compat-2.6: enable ath9k
Quoted 3 lines · Howard Chu
This patch enables building the wireless-testing ath9k driver with the compat-wireless tarball at
http://www.orbit-lab.org/kernel/compat-wireless-2.6/2008/08/compat-wireless-2008-08-06.tar.bz2
Thanks. We can fork wireless-testing for old kernels based on this for compat-wireless. Problem is updates. I suppose each driver maintainer can supply updates when they want. For that please use compat-masters list.
I'll create a new tree for this when I get a chance. The list.h changes should have what we have in the kernel. Although list_splice2() is functionally equivalent I rather use what the kernel is using the name will be different though of course.
Luis