| 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: src/share/man/man4/miibus.4,v 1.3.2.6 2004/03/01 09:22:11 brueffer Exp $ |
| 10 | .\" |
| 11 | .Dd November 11, 2014 |
| 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 |
| 18 | For most network interface cards (NIC): |
| 19 | .Cd "device miibus" |
| 20 | .Sh DESCRIPTION |
| 21 | The |
| 22 | .Nm |
| 23 | driver provides an interconnection between the Media Access Control (MAC) |
| 24 | sublayer, the Physical Layer entities (PHY), Station Management (STA) |
| 25 | entities, and the PHY Layer as defined by the IEEE 802.3 Standard. |
| 26 | .Pp |
| 27 | The |
| 28 | .Nm |
| 29 | layer allows network device drivers to share common support |
| 30 | code for various external PHY devices. |
| 31 | Most 10/100 network interface cards either use an MII transceiver |
| 32 | or have built-in transceivers that can be programmed using an MII |
| 33 | interface. |
| 34 | The |
| 35 | .Nm |
| 36 | driver currently handles all of the media detection, |
| 37 | selection, and reporting using the |
| 38 | .Xr ifmedia 4 |
| 39 | interface. |
| 40 | A generic driver has been included for all PHYs that are not |
| 41 | handled by a specific driver, this is possible because all |
| 42 | 10/100 PHYs implement the same general register set along with |
| 43 | their vendor specific register set. |
| 44 | .Pp |
| 45 | The following network device drivers use the |
| 46 | .Nm |
| 47 | interface: |
| 48 | .Pp |
| 49 | .Bl -tag -compact -width ".Xr stge 4" |
| 50 | .It Xr ae 4 |
| 51 | Attansic/Atheros L2 FastEthernet |
| 52 | .It Xr age 4 |
| 53 | Attansic/Atheros L1 Gigabit Ethernet |
| 54 | .It Xr alc 4 |
| 55 | Atheros AR8131/AR8132 Gigabit/Fast Ethernet |
| 56 | .It Xr ale 4 |
| 57 | Atheros AR8121/AR8113/AR8114 Gigabit/Fast Ethernet |
| 58 | .It Xr aue 4 |
| 59 | ADMtek USB Ethernet |
| 60 | .It Xr axe 4 |
| 61 | ASIX Electronics AX88172 USB Ethernet |
| 62 | .It Xr axge 4 |
| 63 | ASIX Electronics AX88178A/AX88179 USB Gigabit Ethernet |
| 64 | .It Xr bce 4 |
| 65 | Broadcom BCM5706/BCM5708 Gigabit Ethernet |
| 66 | .It Xr bfe 4 |
| 67 | Broadcom BCM440x 10/100 Ethernet |
| 68 | .It Xr bge 4 |
| 69 | Broadcom BCM570xx Gigabit Ethernet |
| 70 | .It Xr dc 4 |
| 71 | DEC/Intel 21143 and various workalikes |
| 72 | .It Xr ed 4 |
| 73 | NE[12]000, SMC Ultra, 3c503, DS8390 cards |
| 74 | .It Xr et 4 |
| 75 | Agere ET1310 10/100/1000 Ethernet |
| 76 | .It Xr fxp 4 |
| 77 | Intel EtherExpress PRO/100B |
| 78 | .It Xr jme 4 |
| 79 | JMicron Gigabit Ethernet |
| 80 | .It Xr lge 4 |
| 81 | Level 1 LXT1001 NetCellerator Gigabit Ethernet |
| 82 | .It Xr mos 4 |
| 83 | Moschip MCS7730/MCS7830/MCS7832 USB Ethernet |
| 84 | .It Xr msk 4 |
| 85 | Marvell/SysKonnect Yukon II Gigabit Ethernet |
| 86 | .It Xr nfe 4 |
| 87 | NVIDIA nForce MCP 10/100/Gigabit Ethernet |
| 88 | .It Xr nge 4 |
| 89 | National Semiconductor DP83820/DP83821 Gigabit Ethernet |
| 90 | .It Xr pcn 4 |
| 91 | AMD Am79C97x PCI 10/100 |
| 92 | .It Xr re 4 |
| 93 | RealTek 8139C+/8169/8169S/8110S |
| 94 | .It Xr rl 4 |
| 95 | RealTek 8129/8139 |
| 96 | .\".It Xr rue 4 |
| 97 | .\"RealTek RTL8150 USB To Fast Ethernet |
| 98 | .It Xr sf 4 |
| 99 | Adaptec AIC-6915 |
| 100 | .It Xr sis 4 |
| 101 | Silicon Integrated Systems SiS 900/SiS 7016 |
| 102 | .It Xr sk 4 |
| 103 | SysKonnect SK-984x and SK-982x Gigabit Ethernet |
| 104 | .It Xr ste 4 |
| 105 | Sundance ST201 (D-Link DFE-550TX) |
| 106 | .It Xr stge 4 |
| 107 | Sundance/Tamarack TC9021 Gigabit Ethernet |
| 108 | .It Xr tl 4 |
| 109 | Texas Instruments ThunderLAN |
| 110 | .It Xr tx 4 |
| 111 | SMC EtherPower II (83c170) |
| 112 | .It Xr udav 4 |
| 113 | Davicom DM9601 USB Ethernet |
| 114 | .It Xr vge 4 |
| 115 | VIA Networking Technologies VT6122 PCI Gigabit Ethernet |
| 116 | .It Xr vr 4 |
| 117 | VIA Rhine, Rhine II |
| 118 | .It Xr wb 4 |
| 119 | Winbond W89C840F |
| 120 | .It Xr xl 4 |
| 121 | 3Com 3c90x |
| 122 | .El |
| 123 | .Sh COMPATIBILITY |
| 124 | The implementation of |
| 125 | .Nm |
| 126 | was originally intended to have similar API interfaces |
| 127 | to |
| 128 | .Bsx 3.0 |
| 129 | and |
| 130 | .Nx , |
| 131 | but as a result are not well behaved newbus device drivers. |
| 132 | .Sh SEE ALSO |
| 133 | .Xr ae 4 , |
| 134 | .Xr age 4 , |
| 135 | .Xr alc 4 , |
| 136 | .Xr ale 4 , |
| 137 | .Xr arp 4 , |
| 138 | .Xr aue 4 , |
| 139 | .Xr axe 4 , |
| 140 | .Xr axge 4 , |
| 141 | .Xr bce 4 , |
| 142 | .Xr bfe 4 , |
| 143 | .Xr bge 4 , |
| 144 | .Xr dc 4 , |
| 145 | .Xr ed 4 , |
| 146 | .Xr et 4 , |
| 147 | .Xr fxp 4 , |
| 148 | .Xr jme 4 , |
| 149 | .Xr lge 4 , |
| 150 | .Xr mos 4 , |
| 151 | .Xr msk 4 , |
| 152 | .Xr netintro 4 , |
| 153 | .Xr nfe 4 , |
| 154 | .Xr nge 4 , |
| 155 | .Xr pcn 4 , |
| 156 | .Xr re 4 , |
| 157 | .Xr rl 4 , |
| 158 | .\".Xr rue 4 , |
| 159 | .Xr sf 4 , |
| 160 | .Xr sis 4 , |
| 161 | .Xr sk 4 , |
| 162 | .Xr ste 4 , |
| 163 | .Xr stge 4 , |
| 164 | .Xr tl 4 , |
| 165 | .Xr tx 4 , |
| 166 | .Xr udav 4 , |
| 167 | .Xr vge 4 , |
| 168 | .Xr vr 4 , |
| 169 | .Xr wb 4 , |
| 170 | .Xr xl 4 |
| 171 | .Sh STANDARDS |
| 172 | More information on MII can be found in the IEEE 802.3 Standard. |
| 173 | .Sh HISTORY |
| 174 | The |
| 175 | .Nm |
| 176 | driver first appeared in |
| 177 | .Fx 3.3 . |
| 178 | .Sh AUTHORS |
| 179 | This manual page was written by |
| 180 | .An Tom Rhodes Aq Mt trhodes@FreeBSD.org . |