virtio_net: Check for room in the vq before adding buffer
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / wireless / b43 / Kconfig
1 config B43
2 tristate "Broadcom 43xx wireless support (mac80211 stack)"
3 depends on SSB_POSSIBLE && MAC80211 && WLAN_80211 && HAS_DMA
4 select SSB
5 select FW_LOADER
6 ---help---
7 b43 is a driver for the Broadcom 43xx series wireless devices.
8
9 Check "lspci" for something like
10 "Broadcom Corporation BCM43XX 802.11 Wireless LAN Controller"
11 to determine whether you own such a device.
12
13 This driver supports the new BCM43xx IEEE 802.11G devices, but not
14 the old IEEE 802.11B devices. Old devices are supported by
15 the b43legacy driver.
16 Note that this has nothing to do with the standard that your AccessPoint
17 supports (A, B, G or a combination).
18 IEEE 802.11G devices can talk to IEEE 802.11B AccessPoints.
19
20 It is safe to include both b43 and b43legacy as the underlying glue
21 layer will automatically load the correct version for your device.
22
23 This driver uses V4 firmware, which must be installed separately using
24 b43-fwcutter.
25
26 This driver can be built as a module (recommended) that will be called "b43".
27 If unsure, say M.
28
29 # Auto-select SSB PCI-HOST support, if possible
30 config B43_PCI_AUTOSELECT
31 bool
32 depends on B43 && SSB_PCIHOST_POSSIBLE
33 select SSB_PCIHOST
34 select SSB_B43_PCI_BRIDGE
35 default y
36
37 # Auto-select SSB PCICORE driver, if possible
38 config B43_PCICORE_AUTOSELECT
39 bool
40 depends on B43 && SSB_DRIVER_PCICORE_POSSIBLE
41 select SSB_DRIVER_PCICORE
42 default y
43
44 config B43_PCMCIA
45 bool "Broadcom 43xx PCMCIA device support"
46 depends on B43 && SSB_PCMCIAHOST_POSSIBLE
47 select SSB_PCMCIAHOST
48 ---help---
49 Broadcom 43xx PCMCIA device support.
50
51 Support for 16bit PCMCIA devices.
52 Please note that most PC-CARD devices are _NOT_ 16bit PCMCIA
53 devices, but 32bit CardBUS devices. CardBUS devices are supported
54 out of the box by b43.
55
56 With this config option you can drive b43 cards in
57 CompactFlash formfactor in a PCMCIA adaptor.
58 CF b43 cards can sometimes be found in handheld PCs.
59
60 It's safe to select Y here, even if you don't have a B43 PCMCIA device.
61
62 If unsure, say N.
63
64 # Data transfers to the device via PIO
65 # This is only needed on PCMCIA devices. All others can do DMA properly.
66 config B43_PIO
67 bool
68 depends on B43 && (B43_PCMCIA || B43_FORCE_PIO)
69 select SSB_BLOCKIO
70 default y
71
72 config B43_NPHY
73 bool "Pre IEEE 802.11n support (BROKEN)"
74 depends on B43 && EXPERIMENTAL && BROKEN
75 ---help---
76 Support for the IEEE 802.11n draft.
77
78 THIS IS BROKEN AND DOES NOT WORK YET.
79
80 SAY N.
81
82 config B43_PHY_LP
83 bool "Support for low-power (LP-PHY) devices (EXPERIMENTAL)"
84 depends on B43 && EXPERIMENTAL
85 default y
86 ---help---
87 Support for the LP-PHY.
88 The LP-PHY is a low-power PHY built into some notebooks
89 and embedded devices. It supports 802.11a/g
90 (802.11a support is optional, and currently disabled).
91
92 # This config option automatically enables b43 LEDS support,
93 # if it's possible.
94 config B43_LEDS
95 bool
96 depends on B43 && MAC80211_LEDS && (LEDS_CLASS = y || LEDS_CLASS = B43)
97 default y
98
99 # This config option automatically enables b43 HW-RNG support,
100 # if the HW-RNG core is enabled.
101 config B43_HWRNG
102 bool
103 depends on B43 && (HW_RANDOM = y || HW_RANDOM = B43)
104 default y
105
106 config B43_DEBUG
107 bool "Broadcom 43xx debugging"
108 depends on B43
109 ---help---
110 Broadcom 43xx debugging.
111
112 This adds additional runtime sanity checks and statistics to the driver.
113 These checks and statistics might me expensive and hurt runtime performance
114 of your system.
115 This also adds the b43 debugfs interface.
116
117 Do not enable this, unless you are debugging the driver.
118
119 Say N, if you are a distributor or user building a release kernel
120 for production use.
121 Only say Y, if you are debugging a problem in the b43 driver sourcecode.
122
123 config B43_FORCE_PIO
124 bool "Force usage of PIO instead of DMA"
125 depends on B43 && B43_DEBUG
126 ---help---
127 This will disable DMA and always enable PIO instead.
128
129 Say N!
130 This is only for debugging the PIO engine code. You do
131 _NOT_ want to enable this.