]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/bge.4
This commit was generated by cvs2svn to compensate for changes in r151497,
[FreeBSD/FreeBSD.git] / share / man / man4 / bge.4
1 .\" Copyright (c) 2001 Wind River Systems
2 .\" Copyright (c) 1997, 1998, 1999, 2000, 2001
3 .\"     Bill Paul <wpaul@windriver.com>. All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
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. All advertising materials mentioning features or use of this software
14 .\"    must display the following acknowledgement:
15 .\"     This product includes software developed by Bill Paul.
16 .\" 4. Neither the name of the author nor the names of any co-contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"   without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
24 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 .\" THE POSSIBILITY OF SUCH DAMAGE.
31 .\"
32 .\" $FreeBSD$
33 .\"
34 .Dd July 16, 2005
35 .Dt BGE 4
36 .Os
37 .Sh NAME
38 .Nm bge
39 .Nd "Broadcom BCM570x/5714/5721/5750/5751/5789 PCI Gigabit Ethernet adapter driver"
40 .Sh SYNOPSIS
41 To compile this driver into the kernel,
42 place the following lines in your
43 kernel configuration file:
44 .Bd -ragged -offset indent
45 .Cd "device miibus"
46 .Cd "device bge"
47 .Ed
48 .Pp
49 Alternatively, to load the driver as a
50 module at boot time, place the following line in
51 .Xr loader.conf 5 :
52 .Bd -literal -offset indent
53 if_bge_load="YES"
54 .Ed
55 .Sh DESCRIPTION
56 The
57 .Nm
58 driver provides support for various NICs based on the Broadcom BCM570x,
59 5714, 5721, 5750, 5751 and 5789 families of Gigabit Ethernet controller chips.
60 .Pp
61 All of these NICs are capable of 10, 100 and 1000Mbps speeds over CAT5
62 copper cable, except for the SysKonnect SK-9D41 which supports only
63 1000Mbps over multimode fiber.
64 The BCM570x builds upon the technology of the Alteon Tigon II.
65 It has two R4000 CPU cores and is PCI v2.2 and PCI-X v1.0 compliant.
66 It supports IP, TCP
67 and UDP checksum offload for both receive and transmit,
68 multiple RX and TX DMA rings for QoS applications, rules-based
69 receive filtering, and VLAN tag stripping/insertion as well as
70 a 256-bit multicast hash filter.
71 Additional features may be
72 provided via value-add firmware updates.
73 The BCM570x supports TBI (ten bit interface) and GMII
74 transceivers, which means it can be used with either copper or 1000baseX
75 fiber applications.
76 Note however the device only supports a single
77 speed in TBI mode.
78 .Pp
79 Most BCM5700-based cards also use the Broadcom BCM5401 or BCM5411 10/100/1000
80 copper gigabit transceivers,
81 which support autonegotiation of 10, 100 and 1000Mbps modes in
82 full or half duplex.
83 .Pp
84 The BCM570x also supports jumbo frames, which can be configured
85 via the interface MTU setting.
86 Selecting an MTU larger than 1500 bytes with the
87 .Xr ifconfig 8
88 utility configures the adapter to receive and transmit jumbo frames.
89 Using jumbo frames can greatly improve performance for certain tasks,
90 such as file transfers and data streaming.
91 .Pp
92 The
93 .Nm
94 driver supports the following media types:
95 .Bl -tag -width ".Cm 10baseT/UTP"
96 .It Cm autoselect
97 Enable autoselection of the media type and options.
98 The user can manually override
99 the autoselected mode by adding media options to
100 .Xr rc.conf 5 .
101 .It Cm 10baseT/UTP
102 Set 10Mbps operation.
103 The
104 .Xr ifconfig 8
105 .Ic mediaopt
106 option can also be used to select either
107 .Cm full-duplex
108 or
109 .Cm half-duplex
110 modes.
111 .It Cm 100baseTX
112 Set 100Mbps (Fast Ethernet) operation.
113 The
114 .Xr ifconfig 8
115 .Ic mediaopt
116 option can also be used to select either
117 .Cm full-duplex
118 or
119 .Cm half-duplex
120 modes.
121 .It Cm 1000baseTX
122 Set 1000baseTX operation over twisted pair.
123 Only
124 .Cm full-duplex
125 mode is supported.
126 .It Cm 1000baseSX
127 Set 1000Mbps (Gigabit Ethernet) operation.
128 Both
129 .Cm full-duplex
130 and
131 .Cm half-duplex
132 modes are supported.
133 .El
134 .Pp
135 The
136 .Nm
137 driver supports the following media options:
138 .Bl -tag -width ".Cm full-duplex"
139 .It Cm full-duplex
140 Force full duplex operation.
141 .It Cm half-duplex
142 Force half duplex operation.
143 .El
144 .Pp
145 The
146 .Nm
147 driver also supports one special link option for 1000baseTX cards:
148 .Bl -tag -width ".Cm link0"
149 .It Cm link0
150 With 1000baseTX cards, establishing a link between two ports requires
151 that one port be configured as a master and the other a slave.
152 With autonegotiation,
153 the master/slave settings will be chosen automatically.
154 However when manually selecting the link state, it is necessary to
155 force one side of the link to be a master and the other a slave.
156 The
157 .Nm
158 driver configures the ports as slaves by default.
159 Setting the
160 .Cm link0
161 flag with
162 .Xr ifconfig 8
163 will set a port as a master instead.
164 .El
165 .Pp
166 For more information on configuring this device, see
167 .Xr ifconfig 8 .
168 .Sh HARDWARE
169 The
170 .Nm
171 driver provides support for various NICs based on the Broadcom BCM570x
172 family of Gigabit Ethernet controller chips, including the
173 following:
174 .Pp
175 .Bl -bullet -compact
176 .It
177 3Com 3c996-T (10/100/1000baseTX)
178 .It
179 Dell PowerEdge 1750 integrated BCM5704C NIC (10/100/1000baseTX)
180 .It
181 Dell PowerEdge 2550 integrated BCM5700 NIC (10/100/1000baseTX)
182 .It
183 Dell PowerEdge 2650 integrated BCM5703 NIC (10/100/1000baseTX)
184 .It
185 IBM x235 server integrated BCM5703x NIC (10/100/1000baseTX)
186 .It
187 HP ProLiant NC7760 embedded Gigabit NIC (10/100/1000baseTX)
188 .It
189 HP ProLiant NC7770 PCI-X Gigabit NIC (10/100/1000baseTX)
190 .It
191 HP ProLiant NC7781 embedded PCI-X Gigabit NIC (10/100/1000baseTX)
192 .It
193 Netgear GA302T (10/100/1000baseTX)
194 .It
195 SysKonnect SK-9D21 (10/100/1000baseTX)
196 .It
197 SysKonnect SK-9D41 (1000baseSX)
198 .El
199 .Sh DIAGNOSTICS
200 .Bl -diag
201 .It "bge%d: couldn't map memory"
202 A fatal initialization error has occurred.
203 .It "bge%d: couldn't map ports"
204 A fatal initialization error has occurred.
205 .It "bge%d: couldn't map interrupt"
206 A fatal initialization error has occurred.
207 .It "bge%d: no memory for softc struct!"
208 The driver failed to allocate memory for per-device instance information
209 during initialization.
210 .It "bge%d: failed to enable memory mapping!"
211 The driver failed to initialize PCI shared memory mapping.
212 This might
213 happen if the card is not in a bus-master slot.
214 .It "bge%d: no memory for jumbo buffers!"
215 The driver failed to allocate memory for jumbo frames during
216 initialization.
217 .It "bge%d: watchdog timeout"
218 The device has stopped responding to the network, or there is a problem with
219 the network connection (cable).
220 .El
221 .Sh SEE ALSO
222 .Xr arp 4 ,
223 .Xr miibus 4 ,
224 .Xr netintro 4 ,
225 .Xr ng_ether 4 ,
226 .Xr vlan 4 ,
227 .Xr ifconfig 8
228 .Sh HISTORY
229 The
230 .Nm
231 device driver first appeared in
232 .Fx 4.5 .
233 .Sh AUTHORS
234 The
235 .Nm
236 driver was written by
237 .An Bill Paul Aq wpaul@windriver.com .