File:  [DragonFly] / src / share / man / man4 / bfe.4
Revision 1.1: download - view: text, annotated - select for diffs
Fri Feb 27 11:56:12 2004 UTC (10 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: HEAD
Add bfe(4) support from FreeBSD.
Initial code submitted by Peter Avalos <pavalos@theshell.com>.

Changes to the FreeBSD version:
- make the code consistent w.r.t. style(9)
- remove some unused entries from bfe_softc
- use the PCI IDs from pcidevs.h
- use BUS_DMA_WAITOK since the allocation is done in bfe_attach before
  the interrupt is registered and sleeping is therefore safe
- fix some warnings in the code about signed/unsigned comparisions

    1: .\"
    2: .\" Copyright (c) 2003 Stuart Walsh
    3: .\"
    4: .\" All rights reserved.
    5: .\"
    6: .\" Redistribution and use in source and binary forms, with or without
    7: .\" modification, are permitted provided that the following conditions
    8: .\" are met:
    9: .\" 1. Redistributions of source code must retain the above copyright
   10: .\"    notice, this list of conditions and the following disclaimer.
   11: .\" 2. Redistributions in binary form must reproduce the above copyright
   12: .\"    notice, this list of conditions and the following disclaimer in the
   13: .\"    documentation and/or other materials provided with the distribution.
   14: .\"
   15: .\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR
   16: .\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
   17: .\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
   18: .\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT,
   19: .\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   20: .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   21: .\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   22: .\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   23: .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
   24: .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
   25: .\"
   26: .\" $FreeBSD: src/share/man/man4/bfe.4,v 1.1.4.1 2004/02/17 20:56:50 julian Exp $
   27: .\" $DragonFly: src/share/man/man4/bfe.4,v 1.1 2004/02/27 11:56:12 joerg Exp $
   28: .\"
   29: .Dd September 4, 2003
   30: .Dt BFE 4
   31: .Os
   32: .Sh NAME
   33: .Nm bfe
   34: .Nd Broadcom BCM4401 Ethernet Device Driver
   35: .Sh SYNOPSIS
   36: .Cd "device miibus"
   37: .Cd "device bfe"
   38: .Sh DESCRIPTION
   39: The
   40: .Nm
   41: driver provides support for the Broadcom BCM4401 based Fast Ethernet adapters.
   42: .Pp
   43: The
   44: .Nm
   45: driver supports the following media types:
   46: .Pp
   47: .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
   48: .It autoselect
   49: Enable autoselection of the media type and options
   50: .It 10baseT/UTP
   51: Set 10Mbps operation
   52: .It 100baseTX
   53: Set 100Mbps (fast ethernet) operation
   54: .El
   55: .Pp
   56: The
   57: .Nm
   58: driver supports the following media options:
   59: .Pp
   60: .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
   61: .It full-duplex
   62: Set full duplex operation
   63: .El
   64: .Pp
   65: For further information on configuring this device, see
   66: .Xr ifconfig 8 .
   67: .Pp
   68: .Sh DIAGNOSTICS
   69: .Bl -diag
   70: .It "bfe%d: couldn't map memory"
   71: A fatal initialization error has occurred.
   72: .It "bfe%d: couldn't map interrupt"
   73: A fatal initialization error has occurred.
   74: .It "bfe%d: failed to allocate DMA resources"
   75: There are not enough mbuf's available for allocation.
   76: .It "bfe%d: watchdog timeout -- resetting"
   77: The device has stopped responding to the network, or there is a problem with
   78: the network connection (cable).
   79: .El
   80: .Sh SEE ALSO
   81: .Xr arp 4 ,
   82: .Xr miibus 4 ,
   83: .Xr netintro 4 ,
   84: .Xr ng_ether 4 ,
   85: .Xr ifconfig 8
   86: .Sh HISTORY
   87: The
   88: .Nm
   89: device driver first appeared in
   90: .Fx 5.1 .
   91: .Sh AUTHORS
   92: .An -nosplit
   93: The
   94: .Nm
   95: device driver was written by
   96: .An Stuart Walsh
   97: and
   98: .An Duncan Barclay .
   99: This manual page was written by
  100: .An Stuart Walsh .