1.\" Written by Tom Rhodes for the FreeBSD Project. 2.\" Please see the /usr/src/COPYRIGHT file for copyright information. 3.\" 4.\" This document takes information from the IEEE 802.3 Standard 5.\" along with various comments from Peter Wemm, Robert Watson, and Bill Paul. 6.\" Originally this file looked much like the NetBSD mii(4) manual page, but 7.\" I doubt you would ever notice due to large differences. 8.\" 9.\" $FreeBSD$ 10.\" 11.Dd June 20, 2008 12.Dt MIIBUS 4 13.Os 14.Sh NAME 15.Nm miibus 16.Nd IEEE 802.3 Media Independent Interface network bus 17.Sh SYNOPSIS 18For most network interface cards (NIC): 19.Cd "device miibus" 20.Sh DESCRIPTION 21The 22.Nm 23driver provides an interconnection between the Media Access Control (MAC) 24sublayer, the Physical Layer entities (PHY), Station Management (STA) 25entities, and the PHY Layer as defined by the IEEE 802.3 Standard. 26.Pp 27The 28.Nm 29layer allows network device drivers to share common support 30code for various external PHY devices. 31Most 10/100 network interface cards either use an MII transceiver 32or have built-in transceivers that can be programmed using an MII 33interface. 34The 35.Nm 36driver currently handles all of the media detection, 37selection, and reporting using the ifmedia interface. 38A generic driver has been included for all PHYs that are not 39handled by a specific driver, this is possible because all 4010/100 PHYs implement the same general register set along with 41their vendor specific register set. 42.Pp 43The following network device drivers use the 44.Nm 45interface: 46.Pp 47.Bl -tag -compact -width ".Xr fxp 4" 48.It Xr age 4 49Attansic/Atheros L1 Gigabit Ethernet 50.It Xr aue 4 51ADMtek USB Ethernet 52.It Xr axe 4 53ASIX Electronics AX88172 USB Ethernet 54.It Xr bce 4 55Broadcom NetXtreme II Gigabit Ethernet 56.It Xr bfe 4 57Broadcom BCM4401 Ethernet 58.It Xr bge 4 59Broadcom BCM570xx Gigabit Ethernet 60.It Xr dc 4 61DEC/Intel 21143 and various workalikes 62.It Xr ed 4 63NE[12]000, SMC Ultra, 3c503, DS8390 cards 64.It Xr et 4 65Agere ET1310 Gigabit Ethernet 66.It Xr fxp 4 67Intel EtherExpress PRO/100B 68.It Xr gem 4 69Sun ERI, Sun GEM and Apple GMAC Ethernet 70.It Xr hme 4 71Sun HME Ethernet 72.It Xr jme 4 73JMicron JMC250 Gigabit/JMC260 Fast Ethernet 74.It Xr lge 4 75Level 1 LXT1001 NetCellerator Gigabit Ethernet 76.It Xr msk 4 77Marvell/SysKonnect Yukon II Gigabit Ethernet 78.It Xr nfe 4 79NVIDIA nForce MCP Networking Adapter 80.It Xr nge 4 81National Semiconductor DP83820/DP83821 Gigabit Ethernet 82.It Xr nve 4 83NVIDIA nForce MCP Networking Adapter 84.It Xr pcn 4 85AMD Am79C97x PCI 10/100 86.It Xr re 4 87RealTek 8139C+/8169/8169S/8110S 88.It Xr rl 4 89RealTek 8129/8139 90.It Xr rue 4 91RealTek RTL8150 USB To Fast Ethernet 92.It Xr sf 4 93Adaptec AIC-6915 94.It Xr sis 4 95Silicon Integrated Systems SiS 900/SiS 7016 96.It Xr sk 4 97SysKonnect SK-984x and SK-982x Gigabit Ethernet 98.It Xr ste 4 99Sundance ST201 (D-Link DFE-550TX) 100.It Xr stge 4 101Sundance/Tamarack TC9021 Gigabit Ethernet 102.It Xr tl 4 103Texas Instruments ThunderLAN 104.It Xr tx 4 105SMC EtherPower II (83c170) 106.It Xr udav 4 107Davicom DM9601 USB Ethernet 108.It Xr vge 4 109VIA VT612x PCI Gigabit Ethernet 110.It Xr vr 4 111VIA Rhine, Rhine II 112.It Xr wb 4 113Winbond W89C840F 114.It Xr xl 4 1153Com 3c90x 116.El 117.Sh COMPATIBILITY 118The implementation of 119.Nm 120was originally intended to have similar API interfaces 121to 122.Bsx 3.0 123and 124.Nx , 125but as a result are not well behaved newbus device drivers. 126.Sh SEE ALSO 127.Xr age 4 , 128.Xr arp 4 , 129.Xr aue 4 , 130.Xr axe 4 , 131.Xr bce 4 , 132.Xr bfe 4 , 133.Xr bge 4 , 134.Xr dc 4 , 135.Xr ed 4 , 136.Xr et 4 , 137.Xr fxp 4 , 138.Xr gem 4 , 139.Xr hme 4 , 140.Xr jme 4 , 141.Xr lge 4 , 142.Xr msk 4 , 143.Xr netintro 4 , 144.Xr nfe 4 , 145.Xr nge 4 , 146.Xr nve 4 , 147.Xr pcn 4 , 148.Xr re 4 , 149.Xr rl 4 , 150.Xr rue 4 , 151.Xr sf 4 , 152.Xr sis 4 , 153.Xr sk 4 , 154.Xr ste 4 , 155.Xr stge 4 , 156.Xr tl 4 , 157.Xr tx 4 , 158.Xr udav 4 , 159.Xr vge 4 , 160.Xr vr 4 , 161.Xr wb 4 , 162.Xr xl 4 163.Sh STANDARDS 164More information on MII can be found in the IEEE 802.3 Standard. 165.Sh HISTORY 166The 167.Nm 168driver first appeared in 169.Fx 3.3 . 170.Sh AUTHORS 171This manual page was written by 172.An Tom Rhodes Aq trhodes@FreeBSD.org . 173