xref: /freebsd/share/man/man4/bge.4 (revision 44704bfd90cae62367dc141a9580903bc45868a2)
195d67482SBill Paul.\" Copyright (c) 2001 Wind River Systems
295d67482SBill Paul.\" Copyright (c) 1997, 1998, 1999, 2000, 2001
395d67482SBill Paul.\"	Bill Paul <wpaul@windriver.com>. All rights reserved.
495d67482SBill Paul.\"
595d67482SBill Paul.\" Redistribution and use in source and binary forms, with or without
695d67482SBill Paul.\" modification, are permitted provided that the following conditions
795d67482SBill Paul.\" are met:
895d67482SBill Paul.\" 1. Redistributions of source code must retain the above copyright
995d67482SBill Paul.\"    notice, this list of conditions and the following disclaimer.
1095d67482SBill Paul.\" 2. Redistributions in binary form must reproduce the above copyright
1195d67482SBill Paul.\"    notice, this list of conditions and the following disclaimer in the
1295d67482SBill Paul.\"    documentation and/or other materials provided with the distribution.
1395d67482SBill Paul.\" 3. All advertising materials mentioning features or use of this software
1495d67482SBill Paul.\"    must display the following acknowledgement:
1595d67482SBill Paul.\"	This product includes software developed by Bill Paul.
1695d67482SBill Paul.\" 4. Neither the name of the author nor the names of any co-contributors
1795d67482SBill Paul.\"    may be used to endorse or promote products derived from this software
1895d67482SBill Paul.\"   without specific prior written permission.
1995d67482SBill Paul.\"
2095d67482SBill Paul.\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
2195d67482SBill Paul.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2295d67482SBill Paul.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2395d67482SBill Paul.\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
2495d67482SBill Paul.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2595d67482SBill Paul.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2695d67482SBill Paul.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2795d67482SBill Paul.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2895d67482SBill Paul.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2995d67482SBill Paul.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
3095d67482SBill Paul.\" THE POSSIBILITY OF SUCH DAMAGE.
3195d67482SBill Paul.\"
3295d67482SBill Paul.\" $FreeBSD$
3395d67482SBill Paul.\"
3495d67482SBill Paul.Dd September 27, 2001
3595d67482SBill Paul.Dt BGE 4
3695d67482SBill Paul.Os
3795d67482SBill Paul.Sh NAME
3895d67482SBill Paul.Nm bge
3995d67482SBill Paul.Nd "Broadcom BCM570x PCI gigabit ethernet adapter driver"
4095d67482SBill Paul.Sh SYNOPSIS
4195d67482SBill Paul.Cd "device miibus"
4295d67482SBill Paul.Cd "device bge"
4395d67482SBill Paul.Sh DESCRIPTION
4495d67482SBill PaulThe
4595d67482SBill Paul.Nm
4695d67482SBill Pauldriver provides support for various NICs based on the Broadcom BCM570x
4795d67482SBill Paulfamily of gigabit ethernet controller chips, including the
4895d67482SBill Paulfollowing:
4995d67482SBill Paul.Pp
5095d67482SBill Paul.Bl -bullet -compact
5195d67482SBill Paul.It
5295d67482SBill Paul3Com 3c996-T (10/100/1000baseTX)
5395d67482SBill Paul.It
5495d67482SBill PaulDell PowerEdge 2550 integrated BCM5700 NIC (10/100/1000baseTX)
5595d67482SBill Paul.It
56a02e220cSJohn PolstraIBM x235 server integrated BCM5703x NIC (10/100/1000baseTX)
57a02e220cSJohn Polstra.It
58b4cb26bfSPaul SaabHP ProLiant NC7760 embedded Gigabit NIC (10/100/1000baseTX)
59b4cb26bfSPaul Saab.It
60b4cb26bfSPaul SaabHP ProLiant NC7770 PCI-X Gigabit NIC (10/100/1000baseTX)
61b4cb26bfSPaul Saab.It
62b4cb26bfSPaul SaabHP ProLiant NC7781 embedded PCI-X Gigabit NIC (10/100/1000baseTX)
63b4cb26bfSPaul Saab.It
64586d7c2eSJohn PolstraNetgear GA302T (10/100/1000baseTX)
65586d7c2eSJohn Polstra.It
6695d67482SBill PaulSysKonnect SK-9D21 (10/100/1000baseTX)
6795d67482SBill Paul.It
6895d67482SBill PaulSysKonnect SK-9D41 (1000baseSX)
6995d67482SBill Paul.El
7095d67482SBill Paul.Pp
7195d67482SBill PaulAll of these NICs are capable of 10, 100 and 1000Mbps speeds over CAT5
7295d67482SBill Paulcopper cable, except for the SysKonnect SK-9D41 which supports only
7395d67482SBill Paul1000Mbps over multimode fiber.
7469826705SRuslan ErmilovThe BCM570x builds upon the technology of the Alteon Tigon II.
7569826705SRuslan ErmilovIt has two R4000 CPU cores and is PCI v2.2 and PCI-X v1.0 compliant.
7669826705SRuslan ErmilovIt supports IP, TCP
7795d67482SBill Pauland UDP checksum checksum offload for both receive and transmit,
7895d67482SBill Paulmultiple RX and TX DMA rings for QoS applications, rules-based
7995d67482SBill Paulreceive filtering, and VLAN tag stripping/insertion as well as
8069826705SRuslan Ermilova 256-bit multicast hash filter.
8169826705SRuslan ErmilovAdditional features may be
8295d67482SBill Paulprovided via value-add firmware updates.
8395d67482SBill PaulThe BCM570x supports TBI (ten bit interface) and GMII
8495d67482SBill Paultransceivers, which means it can be used with either copper of 1000baseX
8569826705SRuslan Ermilovfiber applications.
8669826705SRuslan ErmilovNote however the device only supports a single
8795d67482SBill Paulspeed in TBI mode.
8895d67482SBill Paul.Pp
89a02e220cSJohn PolstraMost BCM5700-based cards also use the Broadcom BCM5401 or BCM5411 10/100/1000
90f87717faSMike Pritchardcopper gigabit transceivers,
9195d67482SBill Paulwhich support autonegotiation of 10, 100 and 1000mbps modes in
9295d67482SBill Paulfull or half duplex.
9395d67482SBill Paul.Pp
94a02e220cSJohn PolstraThe BCM570x also supports jumbo frames, which can be configured
9595d67482SBill Paulvia the interface MTU setting.
9695d67482SBill PaulSelecting an MTU larger than 1500 bytes with the
9795d67482SBill Paul.Xr ifconfig 8
9895d67482SBill Paulutility configures the adapter to receive and transmit jumbo frames.
9995d67482SBill PaulUsing jumbo frames can greatly improve performance for certain tasks,
10095d67482SBill Paulsuch as file transfers and data streaming.
10195d67482SBill Paul.Pp
10295d67482SBill PaulThe
10395d67482SBill Paul.Nm
10495d67482SBill Pauldriver supports the following media types:
10569826705SRuslan Ermilov.Bl -tag -width ".Cm 10baseT/UTP"
10695d67482SBill Paul.It Cm autoselect
10795d67482SBill PaulEnable autoselection of the media type and options.
10895d67482SBill PaulThe user can manually override
10995d67482SBill Paulthe autoselected mode by adding media options to
11095d67482SBill Paul.Xr rc.conf 5 .
11195d67482SBill Paul.It Cm 10baseT/UTP
11295d67482SBill PaulSet 10Mbps operation.
11395d67482SBill PaulThe
11495d67482SBill Paul.Xr ifconfig 8
11595d67482SBill Paul.Ic mediaopt
11695d67482SBill Pauloption can also be used to select either
11795d67482SBill Paul.Cm full-duplex
11895d67482SBill Paulor
11995d67482SBill Paul.Cm half-duplex
12095d67482SBill Paulmodes.
12195d67482SBill Paul.It Cm 100baseTX
12295d67482SBill PaulSet 100Mbps (fast ethernet) operation.
12395d67482SBill PaulThe
12495d67482SBill Paul.Xr ifconfig 8
12595d67482SBill Paul.Ic mediaopt
12695d67482SBill Pauloption can also be used to select either
12795d67482SBill Paul.Cm full-duplex
12895d67482SBill Paulor
12995d67482SBill Paul.Cm half-duplex
13095d67482SBill Paulmodes.
13195d67482SBill Paul.It Cm 1000baseTX
13244704bfdSRuslan ErmilovSet 1000baseTX operation over twisted pair.
13344704bfdSRuslan ErmilovOnly
13495d67482SBill Paul.Cm full-duplex
135b4cb26bfSPaul Saabmode is supported.
13695d67482SBill Paul.It Cm 1000baseSX
13795d67482SBill PaulSet 1000Mbps (gigabit ethernet) operation.
13895d67482SBill PaulBoth
13995d67482SBill Paul.Cm full-duplex
14095d67482SBill Pauland
14195d67482SBill Paul.Cm half-duplex
14295d67482SBill Paulmodes are supported.
14395d67482SBill Paul.El
14495d67482SBill Paul.Pp
14595d67482SBill PaulThe
14695d67482SBill Paul.Nm
14795d67482SBill Pauldriver supports the following media options:
14869826705SRuslan Ermilov.Bl -tag -width ".Cm full-duplex"
14995d67482SBill Paul.It Cm full-duplex
15095d67482SBill PaulForce full duplex operation.
15195d67482SBill Paul.It Cm half-duplex
15295d67482SBill PaulForce half duplex operation.
15395d67482SBill Paul.El
15495d67482SBill Paul.Pp
15595d67482SBill PaulThe
15695d67482SBill Paul.Nm
15795d67482SBill Pauldriver also supports one special link option for 1000baseTX cards:
15869826705SRuslan Ermilov.Bl -tag -width ".Cm link0"
15995d67482SBill Paul.It Cm link0
16095d67482SBill PaulWith 1000baseTX cards, establishing a link between two ports requires
16195d67482SBill Paulthat one port be configured as a master and the other a slave.
16295d67482SBill PaulWith autonegotiation,
16395d67482SBill Paulthe master/slave settings will be chosen automatically.
16495d67482SBill PaulHowever when manually selecting the link state, it is necessary to
16595d67482SBill Paulforce one side of the link to be a master and the other a slave.
16695d67482SBill PaulThe
16795d67482SBill Paul.Nm
16895d67482SBill Pauldriver configures the ports as slaves by default.
16995d67482SBill PaulSetting the
17095d67482SBill Paul.Cm link0
17195d67482SBill Paulflag with
17295d67482SBill Paul.Xr ifconfig 8
17395d67482SBill Paulwill set a port as a master instead.
17495d67482SBill Paul.El
17595d67482SBill Paul.Pp
17695d67482SBill PaulFor more information on configuring this device, see
17795d67482SBill Paul.Xr ifconfig 8 .
17895d67482SBill Paul.Sh DIAGNOSTICS
17995d67482SBill Paul.Bl -diag
18095d67482SBill Paul.It "bge%d: couldn't map memory"
18195d67482SBill PaulA fatal initialization error has occurred.
18295d67482SBill Paul.It "bge%d: couldn't map ports"
18395d67482SBill PaulA fatal initialization error has occurred.
18495d67482SBill Paul.It "bge%d: couldn't map interrupt"
18595d67482SBill PaulA fatal initialization error has occurred.
18695d67482SBill Paul.It "bge%d: no memory for softc struct!"
18795d67482SBill PaulThe driver failed to allocate memory for per-device instance information
18895d67482SBill Paulduring initialization.
18995d67482SBill Paul.It "bge%d: failed to enable memory mapping!"
19095d67482SBill PaulThe driver failed to initialize PCI shared memory mapping.
19195d67482SBill PaulThis might
19295d67482SBill Paulhappen if the card is not in a bus-master slot.
19395d67482SBill Paul.It "bge%d: no memory for jumbo buffers!"
19495d67482SBill PaulThe driver failed to allocate memory for jumbo frames during
19595d67482SBill Paulinitialization.
19695d67482SBill Paul.It "bge%d: watchdog timeout"
19795d67482SBill PaulThe device has stopped responding to the network, or there is a problem with
19895d67482SBill Paulthe network connection (cable).
19995d67482SBill Paul.El
20095d67482SBill Paul.Sh SEE ALSO
20195d67482SBill Paul.Xr arp 4 ,
202071d726dSTom Rhodes.Xr miibus 4 ,
20395d67482SBill Paul.Xr netintro 4 ,
20495d67482SBill Paul.Xr ng_ether 4 ,
20595d67482SBill Paul.Xr vlan 4 ,
20695d67482SBill Paul.Xr ifconfig 8
20795d67482SBill Paul.Sh HISTORY
20895d67482SBill PaulThe
20995d67482SBill Paul.Nm
21095d67482SBill Pauldevice driver first appeared in
21169826705SRuslan Ermilov.Fx 4.5 .
21295d67482SBill Paul.Sh AUTHORS
21395d67482SBill PaulThe
21495d67482SBill Paul.Nm
21595d67482SBill Pauldriver was written by
21695d67482SBill Paul.An Bill Paul Aq wpaul@windriver.com .
217