Skip to content

Commit

Permalink
staging: brcm80211: Remove symbol CONFIG_BRCM80211
Browse files Browse the repository at this point in the history
Since the staging driver brcm80211 was renamed to brcmsmac, CONFIG_BRCM80211
is not really needed. In addition, a two-entry list hardly needs a separate
config menu.

The only awkward place in the revised code is the double addition of the
brcm80211 Makefile.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Larry Finger authored and Greg Kroah-Hartman committed Apr 20, 2011
1 parent 2657c30 commit 57d745e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
3 changes: 2 additions & 1 deletion drivers/staging/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ obj-$(CONFIG_USB_IP_COMMON) += usbip/
obj-$(CONFIG_W35UND) += winbond/
obj-$(CONFIG_PRISM2_USB) += wlan-ng/
obj-$(CONFIG_ECHO) += echo/
obj-$(CONFIG_BRCM80211) += brcm80211/
obj-$(CONFIG_BRCMSMAC) += brcm80211/
obj-$(CONFIG_BRCMFMAC) += brcm80211/
obj-$(CONFIG_RT2860) += rt2860/
obj-$(CONFIG_RT2870) += rt2870/
obj-$(CONFIG_COMEDI) += comedi/
Expand Down
16 changes: 7 additions & 9 deletions drivers/staging/brcm80211/Kconfig
Original file line number Diff line number Diff line change
@@ -1,21 +1,19 @@
menuconfig BRCM80211
tristate "Broadcom IEEE802.11n WLAN drivers"
depends on WLAN

config BRCMSMAC
bool "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
tristate "Broadcom IEEE802.11n PCIe SoftMAC WLAN driver"
default n
depends on PCI
depends on BRCM80211 && MAC80211
depends on WLAN && MAC80211
select FW_LOADER
---help---
This module adds support for PCIe wireless adapters based on Broadcom
IEEE802.11n SoftMAC chipsets. If you choose to build a module, it'll
be called brcmsmac.ko.

config BRCMFMAC
bool "Broadcom IEEE802.11n embedded FullMAC WLAN driver"
tristate "Broadcom IEEE802.11n embedded FullMAC WLAN driver"
default n
depends on MMC
depends on BRCM80211 && CFG80211
depends on WLAN && CFG80211
select FW_LOADER
select WIRELESS_EXT
select WEXT_PRIV
Expand All @@ -28,6 +26,6 @@ config BRCMFMAC
config BRCMDBG
bool "Broadcom driver debug functions"
default n
depends on BRCM80211
depends on BRCMSMAC || BRCMFMAC
---help---
Selecting this enables additional code for debug purposes.

0 comments on commit 57d745e

Please sign in to comment.