001-disable_drivers.patch 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  1. --- a/config.mk
  2. +++ b/config.mk
  3. @@ -72,70 +72,34 @@ ifneq ($(CONFIG_PCI),)
  4. CONFIG_ATH5K=m
  5. CONFIG_ATH5K_DEBUG=n
  6. -# Required for older kernels which still use this flag.
  7. -CONFIG_IWLWIFI=m
  8. -
  9. -CONFIG_IWLCORE=m
  10. -CONFIG_IWL3945=m
  11. -CONFIG_IWL4965=m
  12. -CONFIG_IWL4965_HT=y
  13. -CONFIG_B43=m
  14. +# CONFIG_B43=m
  15. +CONFIG_B43_NPHY=y
  16. # B43 uses PCMCIA only for Compact Flash. The Cardbus cards uses PCI
  17. # Example, bcm4318:
  18. # http://www.multicap.biz/wireless-lan/indoor-wlan-hardware/sdc-cf10g-80211g-compact-flash-module
  19. -CONFIG_B43_PCMCIA=y
  20. +# CONFIG_B43_PCMCIA=y
  21. CONFIG_B43_DMA=y
  22. -CONFIG_B43_PIO=y
  23. +# CONFIG_B43_PIO=y
  24. # B43_PIO selects SSB_BLOCKIO
  25. -CONFIG_SSB_BLOCKIO=y
  26. -CONFIG_B43_DMA_AND_PIO_MODE=y
  27. -CONFIG_B43_PCI_AUTOSELECT=y
  28. -CONFIG_B43_PCICORE_AUTOSELECT=y
  29. -#CONFIG_B43_RFKILL=n
  30. -CONFIG_B43_LEDS=y
  31. +# CONFIG_SSB_BLOCKIO=y
  32. +# CONFIG_B43_DMA_AND_PIO_MODE=y
  33. +# CONFIG_B43_PCI_AUTOSELECT=y
  34. +# CONFIG_B43_PCICORE_AUTOSELECT=y
  35. +# CONFIG_B43_RFKILL=y
  36. +# CONFIG_B43_LEDS=y
  37. # CONFIG_B43_DEBUG is not set
  38. -CONFIG_B43LEGACY=m
  39. -CONFIG_B43LEGACY_PCI_AUTOSELECT=y
  40. -CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
  41. +# CONFIG_B43LEGACY=m
  42. +# CONFIG_B43LEGACY_RFKILL=y
  43. +# CONFIG_B43LEGACY_LEDS=y
  44. +# CONFIG_B43LEGACY_PCI_AUTOSELECT=y
  45. +# CONFIG_B43LEGACY_PCICORE_AUTOSELECT=y
  46. CONFIG_B43LEGACY_DMA=y
  47. -CONFIG_B43LEGACY_PIO=y
  48. -CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
  49. -
  50. -# The Intel ipws
  51. -CONFIG_IPW2100=m
  52. -CONFIG_IPW2100_MONITOR=y
  53. -CONFIG_IPW2200=m
  54. -CONFIG_IPW2200_MONITOR=y
  55. -CONFIG_IPW2200_RADIOTAP=y
  56. -CONFIG_IPW2200_PROMISCUOUS=y
  57. -# The above enables use a second interface prefixed 'rtap'.
  58. -# Example usage:
  59. -#
  60. -# % modprobe ipw2200 rtap_iface=1
  61. -# % ifconfig rtap0 up
  62. -# % tethereal -i rtap0
  63. -#
  64. -# If you do not specify 'rtap_iface=1' as a module parameter then
  65. -# the rtap interface will not be created and you will need to turn
  66. -# it on via sysfs:
  67. -#
  68. -# % echo 1 > /sys/bus/pci/drivers/ipw2200/*/rtap_iface
  69. -CONFIG_IPW2200_QOS=y
  70. -
  71. -NEED_IEEE80211=y
  72. +# CONFIG_B43LEGACY_PIO=y
  73. +# CONFIG_B43LEGACY_DMA_AND_PIO_MODE=y
  74. CONFIG_P54_PCI=m
  75. -CONFIG_SSB_PCIHOST_POSSIBLE=y
  76. -CONFIG_SSB_PCIHOST=y
  77. -CONFIG_SSB_DRIVER_PCICORE_POSSIBLE=y
  78. -CONFIG_SSB_DRIVER_PCICORE=y
  79. -CONFIG_SSB_B43_PCI_BRIDGE=y
  80. -
  81. -CONFIG_RTL8180=m
  82. -CONFIG_ADM8211=m
  83. -
  84. CONFIG_RT2X00_LIB_PCI=m
  85. CONFIG_RT2400PCI=m
  86. CONFIG_RT2500PCI=m
  87. @@ -159,31 +123,7 @@ CONFIG_EEPROM_93CX6=m
  88. ifneq ($(CONFIG_USB),)
  89. CONFIG_ZD1211RW=m
  90. -# support for USB Wireless devices using Atmel at76c503,
  91. -# at76c505 or at76c505a chips.
  92. -CONFIG_USB_ATMEL=m
  93. -
  94. -# Stuff here things which depend on kernel versions for USB
  95. -ifeq ($(shell test -e $(KLIB_BUILD)/Makefile && echo yes),yes)
  96. -KERNEL_SUBLEVEL = $(shell $(MAKE) -C $(KLIB_BUILD) kernelversion | sed -n 's/^2\.6\.\([0-9]\+\).*/\1/p')
  97. -ifeq ($(shell test $(KERNEL_SUBLEVEL) -gt 21 && echo yes),yes)
  98. -
  99. -# Sorry, rndis_wlan uses cancel_work_sync which is new and can't be done in compat...
  100. -
  101. -# Wireless RNDIS USB support (RTL8185 802.11g) A-Link WL54PC
  102. -# All of these devices are based on Broadcom 4320 chip which
  103. -# is only wireless RNDIS chip known to date.
  104. -# Note: this depends on CONFIG_USB_NET_RNDIS_HOST and CONFIG_USB_NET_CDCETHER
  105. -# it also requires new RNDIS_HOST and CDC_ETHER modules which we add
  106. -CONFIG_USB_NET_RNDIS_HOST=m
  107. -CONFIG_USB_NET_RNDIS_WLAN=m
  108. -CONFIG_USB_NET_CDCETHER=m
  109. -
  110. -endif
  111. -endif
  112. -
  113. CONFIG_P54_USB=m
  114. -CONFIG_RTL8187=m
  115. # RT2500USB does not require firmware
  116. CONFIG_RT2500USB=m
  117. @@ -212,36 +152,6 @@ endif
  118. # p54
  119. CONFIG_P54_COMMON=m
  120. -# Sonics Silicon Backplane
  121. -CONFIG_SSB_POSSIBLE=y
  122. -CONFIG_SSB=m
  123. -CONFIG_SSB_SPROM=y
  124. -
  125. -ifneq ($(CONFIG_PCMCIA),)
  126. -CONFIG_SSB_PCMCIAHOST=y
  127. -endif
  128. -
  129. -# These two are for mips
  130. -CONFIG_SSB_DRIVER_MIPS=n
  131. -CONFIG_SSB_PCICORE_HOSTMODE=n
  132. -# CONFIG_SSB_DEBUG is not set
  133. -# CONFIG_SSB_DRIVER_EXTIF=y
  134. -
  135. -ifneq ($(CONFIG_USB),)
  136. -CONFIG_LIBERTAS_USB=m
  137. -NEED_LIBERTAS=y
  138. -endif
  139. -ifneq ($(CONFIG_PCMCIA),)
  140. -CONFIG_LIBERTAS_CS=m
  141. -NEED_LIBERTAS=y
  142. -endif
  143. -ifeq ($(NEED_LIBERTAS),y)
  144. -CONFIG_LIBERTAS=m
  145. -# Libertas uses the old stack but not fully, it will soon
  146. -# be cleaned.
  147. -NEED_IEEE80211=y
  148. -endif
  149. -
  150. ifeq ($(NEED_IEEE80211),y)
  151. # Old ieee80211 "stack"
  152. # Note: old softmac is scheduled for removal so we