1 .\" Copyright (c) 2006 Broadcom Corporation
2 .\" David Christensen <davidch@broadcom.com>. All rights reserved.
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\" notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\" notice, this list of conditions and the following disclaimer in the
12 .\" documentation and/or other materials provided with the distribution.
13 .\" 3. Neither the name of Broadcom Corporation nor the name of its contributors
14 .\" may be used to endorse or promote products derived from this software
15 .\" without specific prior written consent.
17 .\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS'
18 .\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
21 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
27 .\" THE POSSIBILITY OF SUCH DAMAGE.
36 .Nd "Broadcom NetXtreme II (BCM5706/5708/5709/5716) PCI/PCIe Gigabit Ethernet adapter driver"
38 To compile this driver into the kernel,
39 place the following lines in your
40 kernel configuration file:
41 .Bd -ragged -offset indent
46 Alternatively, to load the driver as a
47 module at boot time, place the following line in
49 .Bd -literal -offset indent
55 driver supports Broadcom's NetXtreme II product family, including the
56 BCM5706, BCM5708, BCM5709 and BCM5716 Ethernet controllers.
58 The NetXtreme II product family is composed of various Converged NIC (or CNIC)
59 Ethernet controllers which support a TCP Offload Engine (TOE), Remote DMA (RDMA),
60 and iSCSI acceleration, in addition to standard L2 Ethernet traffic, all on the
63 The following features are supported in the
68 .Bl -item -offset indent -compact
70 IP/TCP/UDP checksum offload
72 Jumbo frames (up to 9022 bytes)
78 10/100/1000Mbps operation in full-duplex mode
80 10/100Mbps operation in half-duplex mode
85 driver supports the following media types:
86 .Bl -tag -width ".Cm 10baseT/UTP"
88 Enable autoselection of the media type and options.
89 The user can manually override
90 the autoselected mode by adding media options to
97 option can also be used to select either
103 Set 100Mbps (Fast Ethernet) operation.
107 option can also be used to select either
113 Set 1000baseTX operation over twisted pair.
121 driver supports the following media options:
122 .Bl -tag -width ".Cm full-duplex"
124 Force full duplex operation.
126 Force half duplex operation.
129 For more information on configuring this device, see
134 driver provides support for various NICs based on the Broadcom NetXtreme II
135 family of Gigabit Ethernet controllers, including the
140 Broadcom NetXtreme II BCM5706 1000Base-SX
142 Broadcom NetXtreme II BCM5706 1000Base-T
144 Broadcom NetXtreme II BCM5708 1000Base-SX
146 Broadcom NetXtreme II BCM5708 1000Base-T
148 Broadcom NetXtreme II BCM5709 1000Base-SX
150 Broadcom NetXtreme II BCM5709 1000Base-T
152 Broadcom NetXtreme II BCM5716 1000Base-T
154 Dell PowerEdge 1950 integrated BCM5708 NIC
156 Dell PowerEdge 2950 integrated BCM5708 NIC
158 HP NC370F Multifunction Gigabit Server Adapter
160 HP NC370T Multifunction Gigabit Server Adapter
162 HP NC370i Multifunction Gigabit Server Adapter
165 The following variables are available as both
170 .Bl -tag -width indent
171 .It Va hw.bce.msi_enable
172 Whether or not MSI support is enabled in the driver.
173 The default value is 1.
177 .It "bce%d: PCI memory allocation failed!"
178 The driver has encountered a fatal initialization error.
179 .It "bce%d: PCI map interrupt failed!"
180 The driver has encountered a fatal initialization error.
181 .It "bce%d: Unsupported controller revision (%c%d)"
182 The driver does not support the controller revision in use.
183 .It "bce%d: Controller initialization failed!"
184 The driver has encountered a fatal initialization error.
185 .It "bce%d: NVRAM test failed!"
186 The driver could not access the controller NVRAM correctly.
187 .It "bce%d: DMA resource allocation failed!"
188 The driver could not allocate DMA memory to setup the controllers
189 host memory data structures.
190 .It "bce%d: Interface allocation failed!"
191 The driver could not create a network interface for the controller.
192 .It "bce%d: PHY probe failed!"
193 The driver could not access the PHY used by the controller.
194 .It "bce%d: Failed to setup IRQ!"
195 The driver could not initialize the IRQ handler.
196 .It "bce%d: Error: PHY read timeout!"
197 The driver could not read a PHY register before the timeout period expired.
198 .It "bce%d: PHY write timeout!"
199 The driver could not write to the PHY register because a timeout occurred.
200 .It "bce%d: Timeout error reading NVRAM at offset 0x%08X!"
201 The driver could not write to NVRAM because a timeout occurred.
202 .It "bce%d: Unknown Flash NVRAM found!"
203 The driver does not recognize the NVRAM device being used and therefore
204 cannot access it correctly.
205 .It "bce%d: Invalid NVRAM magic value!"
206 The driver cannot read NVRAM or the NVRAM is corrupt.
207 .It "bce%d: Invalid Manufacturing Information NVRAM CRC!"
208 The driver cannot read NVRAM or the NVRAM is corrupt.
209 .It "bce%d: Invalid Feature Configuration Information NVRAM CRC!"
210 The driver cannot read NVRAM or the NVRAM is corrupt.
211 .It "bce%d: DMA mapping error!"
212 The driver was unable to map memory into DMA addressable space required
214 .It "bce%d: Could not allocate parent DMA tag!"
215 The driver could not allocate a PCI compatible DMA tag.
216 .It "bce%d: Could not allocate status block DMA tag!"
217 The driver could not allocate a DMA tag for the controller's
219 .It "bce%d: Could not allocate status block DMA memory!"
220 The driver could not allocate DMA addressable memory for the controller's
222 .It "bce_d: Could not map status block DMA memory!"
223 The driver could not map the status block memory into the controller's DMA
225 .It "bce%d: Could not allocate statistics block DMA tag!"
226 The driver could not allocate a DMA tag for the controller's
228 .It "bce%d: Could not allocate statistics block DMA memory!"
229 The driver could not allocate DMA addressable memory for the controller's
231 .It "bce%d: Could not map statistics block DMA memory!"
232 The driver could not map the statistics block memory into the controller's DMA
234 .It "bce%d: Could not allocate TX descriptor chain DMA tag!"
235 The driver could not allocate a DMA tag for the controller's
237 .It "bce%d: Could not allocate TX descriptor chain DMA memory!
238 The driver could not allocate DMA addressable memory for the controller's
240 .It "bce%d: Could not map TX descriptor chain DMA memory!"
241 The driver could not map the TX descriptor chain memory into the controller's DMA
243 .It "bce%d: Could not allocate TX mbuf DMA tag!"
244 The driver could not allocate a DMA tag for the controller's
246 .It "bce%d: Unable to create TX mbuf DMA map!"
247 The driver could not map the TX mbuf memory into the controller's DMA
249 .It "bce%d: Could not allocate RX descriptor chain DMA tag!"
250 The driver could not allocate a DMA tag for the controller's
252 .It "bce%d: Could not allocate RX descriptor chain "
253 The driver could not allocate DMA addressable memory for the controller's
255 .It "bce%d: Could not map RX descriptor chain DMA memory!"
256 The driver could not map the RX descriptor chain memory into the controller's DMA
258 .It "bce%d: Could not allocate RX mbuf DMA tag!"
259 The driver could not allocate a DMA tag for the controller's
261 .It "bce%d: Unable to create RX mbuf DMA map!"
262 The driver could not map the RX mbuf memory into the controller's DMA
264 .It "bce%d: Firmware synchronization timeout!"
265 The driver was not able to synchronize with the firmware running on the
267 The firmware may be stopped or hung.
268 .It "bce%d: Invalid Ethernet address!"
269 The driver was not able to read a valid Ethernet MAC address from NVRAM.
270 .It "bce%d: Reset failed!"
271 The driver has encountered a fatal initialization error.
272 .It "bce%d: Byte swap is incorrect!"
273 The driver has encountered a fatal initialization error.
275 with details of the CPU architecture and system chipset in use.
276 .It "bce%d: Firmware did not complete initialization!"
277 The driver has encountered a fatal initialization error.
278 .It "bce%d: Bootcode not running!"
279 The driver has encountered a fatal initialization error.
280 .It "bce%d: Error mapping mbuf into RX chain!"
281 The driver could not map a RX mbuf into DMA addressable memory.
282 .It "bce%d: Error filling RX chain: rx_bd[0x%04X]!"
283 The driver was unable to allocate enough mbufs to fill the RX chain
284 during initialization.
285 Try increasing the number of mbufs available in
286 the system, increase system memory, or if using jumbo frames, make sure
287 enough 9KB mbufs are available.
288 .It "bce%d: Failed to allocate new mbuf, incoming frame dropped!"
289 The driver was unable to allocate a new mbuf for the RX chain and reused
290 the mbuf for the received frame, dropping the incoming frame in the process.
291 Try increasing the number of mbufs available in the system or increase system
293 .It "bce%d: Controller reset failed!"
294 A fatal initialization error has occurred.
295 .It "bce%d: Controller initialization failed!"
296 A fatal initialization error has occurred.
297 .It "bce%d: Block initialization failed!"
298 A fatal initialization error has occurred.
299 .It "bce%d: Error mapping mbuf into TX chain!"
300 The driver could not map a TX mbuf into DMA addressable memory.
301 .It "bce%d: Error registering poll function!"
302 The driver received an error while attempting to register the poll function.
303 .It "bce%d: Changing VLAN_MTU not supported."
304 Changing the VLAN MTU is not currently supported by the driver.
305 .It "bce%d: Cannot change VLAN_HWTAGGING while management firmware (ASF/IPMI/UMP) is running!"
306 Management firmware to support ASF/IPMI/UMP requires that VLAN
307 tag stripping be enabled in the controller.
308 .It "bce%d: Changing VLAN_HWTAGGING not supported!"
309 Disabling VLAN tag stripping is not currently supported by the driver.
310 .It "bce%d: Watchdog timeout occurred, resetting!"
311 The device has stopped responding to the network, there is a problem
312 with the cable connection, or a driver logic problem has occurred..
313 .It "bce%d: Fatal attention detected: 0x%08X!"
314 A controller hardware failure has occurred.
315 If the problem continues replace the controller.
328 device driver first appeared in
333 driver was written by
334 .An David Christensen Aq davidch@broadcom.com .