X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/d1e3d41785ec69f9afdd281b19bd30d6a945a92f..785fbb4514bc484342387ff1e5681e3e362155a3:/package/mac80211/patches/007-remove_misc_drivers.patch diff --git a/package/mac80211/patches/007-remove_misc_drivers.patch b/package/mac80211/patches/007-remove_misc_drivers.patch index 1fb835333..bf7ecbd01 100644 --- a/package/mac80211/patches/007-remove_misc_drivers.patch +++ b/package/mac80211/patches/007-remove_misc_drivers.patch @@ -1,6 +1,15 @@ --- a/config.mk +++ b/config.mk -@@ -282,13 +282,13 @@ endif +@@ -202,7 +202,7 @@ $(warning "WARNING: CONFIG_CFG80211_WEXT + endif #CONFIG_WIRELESS_EXT + + ifneq ($(CONFIG_STAGING),) +- CONFIG_COMPAT_STAGING=m ++# CONFIG_COMPAT_STAGING=m + endif + + # mac80211 test driver +@@ -336,13 +336,13 @@ endif #CONFIG_CRC_ITU_T CONFIG_MWL8K=m # Ethernet drivers go here @@ -13,24 +22,41 @@ ifdef CONFIG_COMPAT_KERNEL_27 -CONFIG_ATL1C=n +# CONFIG_ATL1C=n - else + else #CONFIG_COMPAT_KERNEL_27 -CONFIG_ATL1C=m +# CONFIG_ATL1C=m - endif + endif #CONFIG_COMPAT_KERNEL_27 - CONFIG_HERMES=m -@@ -342,10 +342,10 @@ CONFIG_USB_NET_COMPAT_RNDIS_HOST=n - CONFIG_USB_NET_COMPAT_RNDIS_WLAN=n - CONFIG_USB_NET_COMPAT_CDCETHER=n - else + ifdef CONFIG_WIRELESS_EXT +@@ -396,21 +396,21 @@ CONFIG_ZD1211RW=m + # Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER + # it also requires new RNDIS_HOST and CDC_ETHER modules which we add + ifdef CONFIG_COMPAT_KERNEL_29 +-CONFIG_USB_COMPAT_USBNET=n +-CONFIG_USB_NET_COMPAT_RNDIS_HOST=n +-CONFIG_USB_NET_COMPAT_RNDIS_WLAN=n +-CONFIG_USB_NET_COMPAT_CDCETHER=n ++# CONFIG_USB_COMPAT_USBNET=n ++# CONFIG_USB_NET_COMPAT_RNDIS_HOST=n ++# CONFIG_USB_NET_COMPAT_RNDIS_WLAN=n ++# CONFIG_USB_NET_COMPAT_CDCETHER=n + else #CONFIG_COMPAT_KERNEL_29 -CONFIG_USB_COMPAT_USBNET=m ++# CONFIG_USB_COMPAT_USBNET=m + ifdef CONFIG_USB_NET_CDCETHER -CONFIG_USB_NET_COMPAT_RNDIS_HOST=m -CONFIG_USB_NET_COMPAT_RNDIS_WLAN=m --CONFIG_USB_NET_COMPAT_CDCETHER=m -+# CONFIG_USB_COMPAT_USBNET=m +# CONFIG_USB_NET_COMPAT_RNDIS_HOST=m +# CONFIG_USB_NET_COMPAT_RNDIS_WLAN=m + endif #CONFIG_USB_NET_CDCETHER + ifdef CONFIG_USB_NET_CDCETHER_MODULE +-CONFIG_USB_NET_COMPAT_RNDIS_HOST=m +-CONFIG_USB_NET_COMPAT_RNDIS_WLAN=m ++# CONFIG_USB_NET_COMPAT_RNDIS_HOST=m ++# CONFIG_USB_NET_COMPAT_RNDIS_WLAN=m + endif #CONFIG_USB_NET_CDCETHER +-CONFIG_USB_NET_COMPAT_CDCETHER=m +# CONFIG_USB_NET_COMPAT_CDCETHER=m - endif + endif #CONFIG_COMPAT_KERNEL_29