From 67228098e77852a0cf50c7c6c413fa601bd6f5b1 Mon Sep 17 00:00:00 2001 From: Hauke Mehrtens Date: Fri, 1 Jan 2010 17:21:08 +0100 Subject: [PATCH] compat-wireless: Activate ssb and libertas Pcmcia is backported now. So activate ssb and libertas again. Signed-off-by: Hauke Mehrtens --- Makefile | 5 +---- config.mk | 2 +- patches/99-change-makefiles.patch | 13 +++++-------- scripts/admin-update.sh | 2 +- 4 files changed, 8 insertions(+), 14 deletions(-) diff --git a/Makefile b/Makefile index 24f1aab68e1d..7322279ac722 100644 --- a/Makefile +++ b/Makefile @@ -28,15 +28,12 @@ obj-$(CONFIG_COMPAT_WIRELESS_MODULES) += drivers/net/wireless/ obj-$(CONFIG_COMPAT_NET_USB_MODULES) += drivers/net/usb/ obj-$(CONFIG_COMPAT_NETWORK_MODULES) += drivers/net/ -obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/misc/eeprom/ +obj-$(CONFIG_COMPAT_VAR_MODULES) += drivers/ssb/ drivers/misc/eeprom/ endif obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/ obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/ -# Sorry ssb requires pcmica backport for 2.6.33 which is not done yet -# drivers/ssb/ - else export PWD := $(shell pwd) diff --git a/config.mk b/config.mk index e8cd6743d2fc..3972e7a65af2 100644 --- a/config.mk +++ b/config.mk @@ -46,7 +46,7 @@ endif # as I suspect all users of this package want 802.11e (WME) and # 802.11n (HT) support. ifneq ($(wildcard $(KLIB_BUILD)/Makefile),) -COMPAT_LATEST_VERSION = 32 +COMPAT_LATEST_VERSION = 33 KERNEL_SUBLEVEL := $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p') COMPAT_VERSIONS := $(shell I=$(COMPAT_LATEST_VERSION); while [ "$$I" -gt $(KERNEL_SUBLEVEL) ]; do echo $$I; I=$$(($$I - 1)); done) $(foreach ver,$(COMPAT_VERSIONS),$(eval CONFIG_COMPAT_KERNEL_$(ver)=y)) diff --git a/patches/99-change-makefiles.patch b/patches/99-change-makefiles.patch index e8b9d2d225e0..c0752dc1d952 100644 --- a/patches/99-change-makefiles.patch +++ b/patches/99-change-makefiles.patch @@ -40,7 +40,7 @@ only the wireless stuff. --- a/drivers/net/wireless/Makefile 2009-12-10 22:57:15.000000000 -0800 +++ b/drivers/net/wireless/Makefile 2009-12-10 22:57:16.000000000 -0800 -@@ -5,36 +5,14 @@ +@@ -5,33 +5,16 @@ obj-$(CONFIG_IPW2100) += ipw2x00/ obj-$(CONFIG_IPW2200) += ipw2x00/ @@ -58,8 +58,8 @@ only the wireless stuff. -obj-$(CONFIG_PRISM54) += prism54/ - -obj-$(CONFIG_HOSTAP) += hostap/ --obj-$(CONFIG_B43) += b43/ --obj-$(CONFIG_B43LEGACY) += b43legacy/ + obj-$(CONFIG_B43) += b43/ + obj-$(CONFIG_B43LEGACY) += b43legacy/ obj-$(CONFIG_ZD1211RW) += zd1211rw/ obj-$(CONFIG_RTL8180) += rtl818x/ obj-$(CONFIG_RTL8187) += rtl818x/ @@ -71,12 +71,9 @@ only the wireless stuff. obj-$(CONFIG_USB_NET_COMPAT_RNDIS_WLAN) += rndis_wlan.o -obj-$(CONFIG_USB_ZD1201) += zd1201.o --obj-$(CONFIG_LIBERTAS) += libertas/ -- --obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/ - - obj-$(CONFIG_ADM8211) += adm8211.o + obj-$(CONFIG_LIBERTAS) += libertas/ + obj-$(CONFIG_LIBERTAS_THINFIRM) += libertas_tf/ --- a/net/wireless/Makefile 2009-10-06 13:00:59.000000000 -0400 +++ b/net/wireless/Makefile 2009-10-06 13:00:59.000000000 -0400 @@ -4,11 +4,6 @@ diff --git a/scripts/admin-update.sh b/scripts/admin-update.sh index 500fe071638b..d029451a4479 100755 --- a/scripts/admin-update.sh +++ b/scripts/admin-update.sh @@ -203,7 +203,7 @@ DIR="drivers/net" echo > $DIR/Makefile cp $GIT_TREE/$DIR/b44.[ch] $DIR # Not yet -#echo "obj-\$(CONFIG_B44) += b44.o" >> $DIR/Makefile +echo "obj-\$(CONFIG_B44) += b44.o" >> $DIR/Makefile echo "obj-\$(CONFIG_ATL1) += atlx/" >> $DIR/Makefile echo "obj-\$(CONFIG_ATL2) += atlx/" >> $DIR/Makefile echo "obj-\$(CONFIG_ATL1E) += atl1e/" >> $DIR/Makefile -- 2.30.2