2003-02-15 16:01:36 +00:00
|
|
|
.\" Written by Tom Rhodes for the FreeBSD Project.
|
|
|
|
.\" Please see the /usr/src/COPYRIGHT file for copyright information.
|
|
|
|
.\"
|
|
|
|
.\" This document takes information from the IEEE 802.3 Standard
|
|
|
|
.\" along with various comments from Peter Wemm, Robert Watson, and Bill Paul.
|
|
|
|
.\" Originally this file looked much like the NetBSD mii(4) manual page, but
|
|
|
|
.\" I doubt you would ever notice due to large differences.
|
|
|
|
.\"
|
|
|
|
.\" $FreeBSD$
|
|
|
|
.\"
|
2011-01-15 22:07:08 +00:00
|
|
|
.Dd January 15, 2011
|
2003-02-15 16:01:36 +00:00
|
|
|
.Dt MIIBUS 4
|
|
|
|
.Os
|
|
|
|
.Sh NAME
|
|
|
|
.Nm miibus
|
|
|
|
.Nd IEEE 802.3 Media Independent Interface network bus
|
|
|
|
.Sh SYNOPSIS
|
|
|
|
For most network interface cards (NIC):
|
|
|
|
.Cd "device miibus"
|
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver provides an interconnection between the Media Access Control (MAC)
|
|
|
|
sublayer, the Physical Layer entities (PHY), Station Management (STA)
|
|
|
|
entities, and the PHY Layer as defined by the IEEE 802.3 Standard.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
layer allows network device drivers to share common support
|
|
|
|
code for various external PHY devices.
|
|
|
|
Most 10/100 network interface cards either use an MII transceiver
|
|
|
|
or have built-in transceivers that can be programmed using an MII
|
|
|
|
interface.
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver currently handles all of the media detection,
|
|
|
|
selection, and reporting using the ifmedia interface.
|
|
|
|
A generic driver has been included for all PHYs that are not
|
|
|
|
handled by a specific driver, this is possible because all
|
|
|
|
10/100 PHYs implement the same general register set along with
|
|
|
|
their vendor specific register set.
|
|
|
|
.Pp
|
|
|
|
The following network device drivers use the
|
|
|
|
.Nm
|
|
|
|
interface:
|
2003-02-20 20:22:20 +00:00
|
|
|
.Pp
|
|
|
|
.Bl -tag -compact -width ".Xr fxp 4"
|
2010-12-20 00:23:47 +00:00
|
|
|
.It Xr ae 4
|
|
|
|
Attansic/Atheros L2 Fast Ethernet
|
2008-05-19 02:10:39 +00:00
|
|
|
.It Xr age 4
|
|
|
|
Attansic/Atheros L1 Gigabit Ethernet
|
2009-06-10 02:19:54 +00:00
|
|
|
.It Xr alc 4
|
|
|
|
Atheros AR8131/AR8132 PCIe Ethernet
|
2008-11-12 10:20:29 +00:00
|
|
|
.It Xr ale 4
|
|
|
|
Atheros AR8121/AR8113/AR8114 PCIe Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr aue 4
|
|
|
|
ADMtek USB Ethernet
|
2004-01-09 17:17:57 +00:00
|
|
|
.It Xr axe 4
|
|
|
|
ASIX Electronics AX88172 USB Ethernet
|
2006-04-10 20:33:42 +00:00
|
|
|
.It Xr bce 4
|
|
|
|
Broadcom NetXtreme II Gigabit Ethernet
|
2004-01-09 17:17:57 +00:00
|
|
|
.It Xr bfe 4
|
|
|
|
Broadcom BCM4401 Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr bge 4
|
|
|
|
Broadcom BCM570xx Gigabit Ethernet
|
2009-06-15 18:24:04 +00:00
|
|
|
.It Xr cas 4
|
|
|
|
Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr dc 4
|
|
|
|
DEC/Intel 21143 and various workalikes
|
|
|
|
.It Xr ed 4
|
|
|
|
NE[12]000, SMC Ultra, 3c503, DS8390 cards
|
2008-08-12 01:17:34 +00:00
|
|
|
.It Xr et 4
|
|
|
|
Agere ET1310 Gigabit Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr fxp 4
|
2003-12-26 16:05:45 +00:00
|
|
|
Intel EtherExpress PRO/100B
|
2003-06-10 18:53:15 +00:00
|
|
|
.It Xr gem 4
|
|
|
|
Sun ERI, Sun GEM and Apple GMAC Ethernet
|
|
|
|
.It Xr hme 4
|
|
|
|
Sun HME Ethernet
|
2008-05-27 02:07:30 +00:00
|
|
|
.It Xr jme 4
|
|
|
|
JMicron JMC250 Gigabit/JMC260 Fast Ethernet
|
2004-01-09 17:17:57 +00:00
|
|
|
.It Xr lge 4
|
|
|
|
Level 1 LXT1001 NetCellerator Gigabit Ethernet
|
2006-12-13 02:46:32 +00:00
|
|
|
.It Xr msk 4
|
|
|
|
Marvell/SysKonnect Yukon II Gigabit Ethernet
|
2007-06-12 02:18:04 +00:00
|
|
|
.It Xr nfe 4
|
|
|
|
NVIDIA nForce MCP Networking Adapter
|
2004-01-09 17:17:57 +00:00
|
|
|
.It Xr nge 4
|
|
|
|
National Semiconductor DP83820/DP83821 Gigabit Ethernet
|
2005-05-20 01:19:02 +00:00
|
|
|
.It Xr nve 4
|
|
|
|
NVIDIA nForce MCP Networking Adapter
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr pcn 4
|
|
|
|
AMD Am79C97x PCI 10/100
|
2004-01-09 17:17:57 +00:00
|
|
|
.It Xr re 4
|
|
|
|
RealTek 8139C+/8169/8169S/8110S
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr rl 4
|
|
|
|
RealTek 8129/8139
|
2003-11-16 11:52:26 +00:00
|
|
|
.It Xr rue 4
|
|
|
|
RealTek RTL8150 USB To Fast Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr sf 4
|
|
|
|
Adaptec AIC-6915
|
2010-04-14 21:27:48 +00:00
|
|
|
.It Xr sge 4
|
|
|
|
Silicon Integrated Systems SiS190/191 Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr sis 4
|
|
|
|
Silicon Integrated Systems SiS 900/SiS 7016
|
2004-01-09 17:17:57 +00:00
|
|
|
.It Xr sk 4
|
|
|
|
SysKonnect SK-984x and SK-982x Gigabit Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr ste 4
|
|
|
|
Sundance ST201 (D-Link DFE-550TX)
|
2006-07-25 00:59:39 +00:00
|
|
|
.It Xr stge 4
|
|
|
|
Sundance/Tamarack TC9021 Gigabit Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr tl 4
|
|
|
|
Texas Instruments ThunderLAN
|
|
|
|
.It Xr tx 4
|
|
|
|
SMC EtherPower II (83c170)
|
2004-02-28 02:55:12 +00:00
|
|
|
.It Xr udav 4
|
|
|
|
Davicom DM9601 USB Ethernet
|
2004-09-12 22:03:38 +00:00
|
|
|
.It Xr vge 4
|
|
|
|
VIA VT612x PCI Gigabit Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr vr 4
|
|
|
|
VIA Rhine, Rhine II
|
2010-12-31 00:46:30 +00:00
|
|
|
.It Xr vte 4
|
|
|
|
DM&P Vortex86 RDC R6040 Fast Ethernet
|
2003-02-20 20:22:20 +00:00
|
|
|
.It Xr wb 4
|
|
|
|
Winbond W89C840F
|
|
|
|
.It Xr xl 4
|
|
|
|
3Com 3c90x
|
2003-02-15 16:01:36 +00:00
|
|
|
.El
|
|
|
|
.Sh COMPATIBILITY
|
|
|
|
The implementation of
|
|
|
|
.Nm
|
|
|
|
was originally intended to have similar API interfaces
|
|
|
|
to
|
2003-02-16 22:30:00 +00:00
|
|
|
.Bsx 3.0
|
2003-02-15 16:01:36 +00:00
|
|
|
and
|
|
|
|
.Nx ,
|
|
|
|
but as a result are not well behaved newbus device drivers.
|
|
|
|
.Sh SEE ALSO
|
2010-12-20 00:23:47 +00:00
|
|
|
.Xr ae 4 ,
|
2008-05-19 02:10:39 +00:00
|
|
|
.Xr age 4 ,
|
2009-06-10 02:19:54 +00:00
|
|
|
.Xr alc 4 ,
|
2008-11-12 10:20:29 +00:00
|
|
|
.Xr ale 4 ,
|
2003-02-15 17:16:44 +00:00
|
|
|
.Xr arp 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr aue 4 ,
|
2004-01-09 17:17:57 +00:00
|
|
|
.Xr axe 4 ,
|
2006-04-10 20:33:42 +00:00
|
|
|
.Xr bce 4 ,
|
2004-01-09 17:17:57 +00:00
|
|
|
.Xr bfe 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr bge 4 ,
|
2009-06-15 18:24:04 +00:00
|
|
|
.Xr cas 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr dc 4 ,
|
|
|
|
.Xr ed 4 ,
|
2008-08-12 01:17:34 +00:00
|
|
|
.Xr et 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr fxp 4 ,
|
2003-06-10 18:53:15 +00:00
|
|
|
.Xr gem 4 ,
|
|
|
|
.Xr hme 4 ,
|
2008-05-27 02:07:30 +00:00
|
|
|
.Xr jme 4 ,
|
2004-01-09 17:17:57 +00:00
|
|
|
.Xr lge 4 ,
|
2006-12-13 08:56:15 +00:00
|
|
|
.Xr msk 4 ,
|
2003-02-15 17:16:44 +00:00
|
|
|
.Xr netintro 4 ,
|
2007-06-12 02:18:04 +00:00
|
|
|
.Xr nfe 4 ,
|
2004-01-09 17:17:57 +00:00
|
|
|
.Xr nge 4 ,
|
2005-05-20 01:19:02 +00:00
|
|
|
.Xr nve 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr pcn 4 ,
|
2004-01-09 17:17:57 +00:00
|
|
|
.Xr re 4 ,
|
2011-01-15 22:07:08 +00:00
|
|
|
.Xr rgephy 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr rl 4 ,
|
2003-11-16 11:52:26 +00:00
|
|
|
.Xr rue 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr sf 4 ,
|
2010-04-14 21:27:48 +00:00
|
|
|
.Xr sge 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr sis 4 ,
|
2004-01-09 17:17:57 +00:00
|
|
|
.Xr sk 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr ste 4 ,
|
2006-07-25 00:59:39 +00:00
|
|
|
.Xr stge 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr tl 4 ,
|
|
|
|
.Xr tx 4 ,
|
2004-02-28 02:55:12 +00:00
|
|
|
.Xr udav 4 ,
|
2004-09-12 22:03:38 +00:00
|
|
|
.Xr vge 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr vr 4 ,
|
2010-12-31 00:46:30 +00:00
|
|
|
.Xr vte 4 ,
|
2003-02-15 16:01:36 +00:00
|
|
|
.Xr wb 4 ,
|
2003-02-20 20:22:20 +00:00
|
|
|
.Xr xl 4
|
2003-02-15 16:01:36 +00:00
|
|
|
.Sh STANDARDS
|
|
|
|
More information on MII can be found in the IEEE 802.3 Standard.
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver first appeared in
|
|
|
|
.Fx 3.3 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
This manual page was written by
|
|
|
|
.An Tom Rhodes Aq trhodes@FreeBSD.org .
|