John W. Linville 217da4e
diff -up compat-wireless-2011-12-18/config.mk.orig compat-wireless-2011-12-18/config.mk
John W. Linville 7fee57a
--- compat-wireless-2011-12-18/config.mk.orig	2012-01-05 13:54:21.214595837 -0500
John W. Linville 7fee57a
+++ compat-wireless-2011-12-18/config.mk	2012-01-05 13:54:35.668415136 -0500
John W. Linville aeaaac5
@@ -14,6 +14,9 @@ else
John W. Linville aeaaac5
 include $(KLIB_BUILD)/.config
John W. Linville aeaaac5
 endif
John W. Linville aeaaac5
 
John W. Linville aeaaac5
+# Enable SSB module (needs to be visible in compat_autoconf.h)
John W. Linville aeaaac5
+CONFIG_SSB=m
John W. Linville aeaaac5
+
John W. Linville aeaaac5
 ifneq ($(wildcard $(KLIB_BUILD)/Makefile),)
John W. Linville aeaaac5
 
John W. Linville 217da4e
 COMPAT_LATEST_VERSION = 3
John W. Linville c679b87
@@ -395,7 +398,7 @@ ifdef CONFIG_CRC_CCITT
John W. Linville c679b87
 CONFIG_RT2800PCI=m
John W. Linville c679b87
 CONFIG_RT2800PCI_RT33XX=y
John W. Linville c679b87
 CONFIG_RT2800PCI_RT35XX=y
John W. Linville c679b87
-# CONFIG_RT2800PCI_RT53XX=y
John W. Linville c679b87
+CONFIG_RT2800PCI_RT53XX=y
John W. Linville c679b87
 endif #CONFIG_CRC_CCITT
John W. Linville c679b87
 NEED_RT2X00=y
John W. Linville c679b87
 
John W. Linville c679b87
@@ -525,7 +528,7 @@ ifdef CONFIG_CRC_CCITT
John W. Linville c679b87
 CONFIG_RT2800USB=m
John W. Linville c679b87
 CONFIG_RT2800USB_RT33XX=y
John W. Linville c679b87
 CONFIG_RT2800USB_RT35XX=y
John W. Linville c679b87
-# CONFIG_RT2800USB_RT53XX=y
John W. Linville c679b87
+CONFIG_RT2800USB_RT53XX=y
John W. Linville c679b87
 CONFIG_RT2800USB_UNKNOWN=y
John W. Linville c679b87
 endif #CONFIG_CRC_CCITT
John W. Linville c679b87
 CONFIG_RT2X00_LIB_USB=m
John W. Linville 7fee57a
@@ -615,7 +618,7 @@ CONFIG_ATH6KL=m
John W. Linville 7fee57a
 endif #CONFIG_COMPAT_KERNEL_2_6_27
John W. Linville 7fee57a
 
John W. Linville 7fee57a
 ifndef CONFIG_COMPAT_KERNEL_2_6_29
John W. Linville 7fee57a
-CONFIG_BRCMFMAC=m
John W. Linville 7fee57a
+# CONFIG_BRCMFMAC=m
John W. Linville 7fee57a
 endif #CONFIG_COMPAT_KERNEL_2_6_29
John W. Linville 7fee57a
 
John W. Linville 7fee57a
 endif #CONFIG_MMC
John W. Linville 217da4e
diff -up compat-wireless-2011-12-18/drivers/misc/eeprom/Makefile.orig compat-wireless-2011-12-18/drivers/misc/eeprom/Makefile
John W. Linville 7fee57a
--- compat-wireless-2011-12-18/drivers/misc/eeprom/Makefile.orig	2012-01-05 13:54:21.214595837 -0500
John W. Linville 7fee57a
+++ compat-wireless-2011-12-18/drivers/misc/eeprom/Makefile	2012-01-05 13:54:27.274520077 -0500
John W. Linville 217da4e
@@ -1 +1 @@
John W. Linville aeaaac5
-obj-$(CONFIG_EEPROM_93CX6)	+= eeprom_93cx6.o
John W. Linville aeaaac5
+#obj-$(CONFIG_EEPROM_93CX6)	+= eeprom_93cx6.o
John W. Linville 217da4e
diff -up compat-wireless-2011-12-18/drivers/net/ethernet/atheros/Makefile.orig compat-wireless-2011-12-18/drivers/net/ethernet/atheros/Makefile
John W. Linville 7fee57a
--- compat-wireless-2011-12-18/drivers/net/ethernet/atheros/Makefile.orig	2012-01-05 13:54:21.215595824 -0500
John W. Linville 7fee57a
+++ compat-wireless-2011-12-18/drivers/net/ethernet/atheros/Makefile	2012-01-05 13:54:27.275520064 -0500
John W. Linville aeaaac5
@@ -2,7 +2,7 @@
John W. Linville aeaaac5
 # Makefile for the Atheros network device drivers.
John W. Linville aeaaac5
 #
John W. Linville aeaaac5
 
John W. Linville aeaaac5
-obj-$(CONFIG_ATL1) += atlx/
John W. Linville aeaaac5
-obj-$(CONFIG_ATL2) += atlx/
John W. Linville aeaaac5
-obj-$(CONFIG_ATL1E) += atl1e/
John W. Linville aeaaac5
-obj-$(CONFIG_ATL1C) += atl1c/
John W. Linville aeaaac5
+#obj-$(CONFIG_ATL1) += atlx/
John W. Linville aeaaac5
+#obj-$(CONFIG_ATL2) += atlx/
John W. Linville aeaaac5
+#obj-$(CONFIG_ATL1E) += atl1e/
John W. Linville aeaaac5
+#obj-$(CONFIG_ATL1C) += atl1c/
John W. Linville 217da4e
diff -up compat-wireless-2011-12-18/drivers/net/usb/Makefile.orig compat-wireless-2011-12-18/drivers/net/usb/Makefile
John W. Linville 7fee57a
--- compat-wireless-2011-12-18/drivers/net/usb/Makefile.orig	2012-01-05 13:54:21.215595824 -0500
John W. Linville 7fee57a
+++ compat-wireless-2011-12-18/drivers/net/usb/Makefile	2012-01-05 13:54:27.275520064 -0500
John W. Linville aeaaac5
@@ -2,7 +2,7 @@
John W. Linville aeaaac5
 # Makefile for USB Network drivers
John W. Linville aeaaac5
 #
John W. Linville aeaaac5
 
John W. Linville aeaaac5
-obj-$(CONFIG_USB_NET_COMPAT_CDCETHER)	+= cdc_ether.o
John W. Linville aeaaac5
-obj-$(CONFIG_USB_NET_COMPAT_RNDIS_HOST)	+= rndis_host.o
John W. Linville aeaaac5
-obj-$(CONFIG_USB_COMPAT_USBNET)	+= usbnet.o
John W. Linville aeaaac5
+#obj-$(CONFIG_USB_NET_COMPAT_CDCETHER)	+= cdc_ether.o
John W. Linville aeaaac5
+#obj-$(CONFIG_USB_NET_COMPAT_RNDIS_HOST)	+= rndis_host.o
John W. Linville aeaaac5
+#obj-$(CONFIG_USB_COMPAT_USBNET)	+= usbnet.o
John W. Linville aeaaac5
 
John W. Linville 217da4e
diff -up compat-wireless-2011-12-18/Makefile.orig compat-wireless-2011-12-18/Makefile
John W. Linville 7fee57a
--- compat-wireless-2011-12-18/Makefile.orig	2012-01-05 13:54:21.216595811 -0500
John W. Linville 7fee57a
+++ compat-wireless-2011-12-18/Makefile	2012-01-05 13:54:27.276520051 -0500
John W. Linville 37e219b
@@ -8,8 +8,8 @@ endif
John W. Linville 37e219b
 export KLIB_BUILD ?=	$(KLIB)/build
John W. Linville 37e219b
 # Sometimes not available in the path
John W. Linville 37e219b
 MODPROBE := /sbin/modprobe
John W. Linville 37e219b
-MADWIFI=$(shell $(MODPROBE) -l ath_pci)
John W. Linville 37e219b
-OLD_IWL=$(shell $(MODPROBE) -l iwl4965)
John W. Linville 37e219b
+MADWIFI=""
John W. Linville 37e219b
+OLD_IWL=""
John W. Linville 37e219b
 
John W. Linville 37e219b
 DESTDIR?=
John W. Linville 37e219b
 
John W. Linville aeaaac5
@@ -41,8 +41,8 @@ endif
John W. Linville aeaaac5
 
John W. Linville aeaaac5
 endif
John W. Linville aeaaac5
 
John W. Linville aeaaac5
-obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/
John W. Linville aeaaac5
-obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/
John W. Linville aeaaac5
+#obj-$(CONFIG_COMPAT_BLUETOOTH) += net/bluetooth/
John W. Linville aeaaac5
+#obj-$(CONFIG_COMPAT_BLUETOOTH_MODULES) += drivers/bluetooth/
John W. Linville aeaaac5
 
John W. Linville aeaaac5
 else
John W. Linville aeaaac5