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 September 13, 2004 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 aue 4 49ADMtek USB Ethernet 50.It Xr axe 4 51ASIX Electronics AX88172 USB Ethernet 52.It Xr bfe 4 53Broadcom BCM4401 Ethernet 54.It Xr bge 4 55Broadcom BCM570xx Gigabit Ethernet 56.It Xr dc 4 57DEC/Intel 21143 and various workalikes 58.It Xr ed 4 59NE[12]000, SMC Ultra, 3c503, DS8390 cards 60.It Xr fxp 4 61Intel EtherExpress PRO/100B 62.It Xr gem 4 63Sun ERI, Sun GEM and Apple GMAC Ethernet 64.It Xr hme 4 65Sun HME Ethernet 66.It Xr lge 4 67Level 1 LXT1001 NetCellerator Gigabit Ethernet 68.It Xr my 4 69Myson Technologies PCI Ethernet adaptors 70.It Xr nge 4 71National Semiconductor DP83820/DP83821 Gigabit Ethernet 72.It Xr pcn 4 73AMD Am79C97x PCI 10/100 74.It Xr re 4 75RealTek 8139C+/8169/8169S/8110S 76.It Xr rl 4 77RealTek 8129/8139 78.It Xr rue 4 79RealTek RTL8150 USB To Fast Ethernet 80.It Xr sf 4 81Adaptec AIC-6915 82.It Xr sis 4 83Silicon Integrated Systems SiS 900/SiS 7016 84.It Xr sk 4 85SysKonnect SK-984x and SK-982x Gigabit Ethernet 86.It Xr ste 4 87Sundance ST201 (D-Link DFE-550TX) 88.It Xr tl 4 89Texas Instruments ThunderLAN 90.It Xr tx 4 91SMC EtherPower II (83c170) 92.It Xr udav 4 93Davicom DM9601 USB Ethernet 94.It Xr vge 4 95VIA VT612x PCI Gigabit Ethernet 96.It Xr vr 4 97VIA Rhine, Rhine II 98.It Xr wb 4 99Winbond W89C840F 100.It Xr xl 4 1013Com 3c90x 102.El 103.Sh COMPATIBILITY 104The implementation of 105.Nm 106was originally intended to have similar API interfaces 107to 108.Bsx 3.0 109and 110.Nx , 111but as a result are not well behaved newbus device drivers. 112.Sh SEE ALSO 113.Xr arp 4 , 114.Xr aue 4 , 115.Xr axe 4 , 116.Xr bfe 4 , 117.Xr bge 4 , 118.Xr dc 4 , 119.Xr ed 4 , 120.Xr fxp 4 , 121.Xr gem 4 , 122.Xr hme 4 , 123.Xr lge 4 , 124.Xr my 4 , 125.Xr netintro 4 , 126.Xr nge 4 , 127.Xr pcn 4 , 128.Xr re 4 , 129.Xr rl 4 , 130.Xr rue 4 , 131.Xr sf 4 , 132.Xr sis 4 , 133.Xr sk 4 , 134.Xr ste 4 , 135.Xr tl 4 , 136.Xr tx 4 , 137.Xr udav 4 , 138.Xr vge 4 , 139.Xr vr 4 , 140.Xr wb 4 , 141.Xr xl 4 142.Sh STANDARDS 143More information on MII can be found in the IEEE 802.3 Standard. 144.Sh HISTORY 145The 146.Nm 147driver first appeared in 148.Fx 3.3 . 149.Sh AUTHORS 150This manual page was written by 151.An Tom Rhodes Aq trhodes@FreeBSD.org . 152