xref: /freebsd/share/man/man4/miibus.4 (revision 774f94f14c92bf94afc21d8c8d7a1e8f2fdf5a48)
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 April 14, 2010
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 alc 4
51Atheros AR8131/AR8132 PCIe Ethernet
52.It Xr ale 4
53Atheros AR8121/AR8113/AR8114 PCIe Ethernet
54.It Xr aue 4
55ADMtek USB Ethernet
56.It Xr axe 4
57ASIX Electronics AX88172 USB Ethernet
58.It Xr bce 4
59Broadcom NetXtreme II Gigabit Ethernet
60.It Xr bfe 4
61Broadcom BCM4401 Ethernet
62.It Xr bge 4
63Broadcom BCM570xx Gigabit Ethernet
64.It Xr cas 4
65Sun Cassini/Cassini+ and National Semiconductor DP83065 Saturn
66.It Xr dc 4
67DEC/Intel 21143 and various workalikes
68.It Xr ed 4
69NE[12]000, SMC Ultra, 3c503, DS8390 cards
70.It Xr et 4
71Agere ET1310 Gigabit Ethernet
72.It Xr fxp 4
73Intel EtherExpress PRO/100B
74.It Xr gem 4
75Sun ERI, Sun GEM and Apple GMAC Ethernet
76.It Xr hme 4
77Sun HME Ethernet
78.It Xr jme 4
79JMicron JMC250 Gigabit/JMC260 Fast Ethernet
80.It Xr lge 4
81Level 1 LXT1001 NetCellerator Gigabit Ethernet
82.It Xr msk 4
83Marvell/SysKonnect Yukon II Gigabit Ethernet
84.It Xr nfe 4
85NVIDIA nForce MCP Networking Adapter
86.It Xr nge 4
87National Semiconductor DP83820/DP83821 Gigabit Ethernet
88.It Xr nve 4
89NVIDIA nForce MCP Networking Adapter
90.It Xr pcn 4
91AMD Am79C97x PCI 10/100
92.It Xr re 4
93RealTek 8139C+/8169/8169S/8110S
94.It Xr rl 4
95RealTek 8129/8139
96.It Xr rue 4
97RealTek RTL8150 USB To Fast Ethernet
98.It Xr sf 4
99Adaptec AIC-6915
100.It Xr sge 4
101Silicon Integrated Systems SiS190/191 Ethernet
102.It Xr sis 4
103Silicon Integrated Systems SiS 900/SiS 7016
104.It Xr sk 4
105SysKonnect SK-984x and SK-982x Gigabit Ethernet
106.It Xr ste 4
107Sundance ST201 (D-Link DFE-550TX)
108.It Xr stge 4
109Sundance/Tamarack TC9021 Gigabit Ethernet
110.It Xr tl 4
111Texas Instruments ThunderLAN
112.It Xr tx 4
113SMC EtherPower II (83c170)
114.It Xr udav 4
115Davicom DM9601 USB Ethernet
116.It Xr vge 4
117VIA VT612x PCI Gigabit Ethernet
118.It Xr vr 4
119VIA Rhine, Rhine II
120.It Xr wb 4
121Winbond W89C840F
122.It Xr xl 4
1233Com 3c90x
124.El
125.Sh COMPATIBILITY
126The implementation of
127.Nm
128was originally intended to have similar API interfaces
129to
130.Bsx 3.0
131and
132.Nx ,
133but as a result are not well behaved newbus device drivers.
134.Sh SEE ALSO
135.Xr age 4 ,
136.Xr alc 4 ,
137.Xr ale 4 ,
138.Xr arp 4 ,
139.Xr aue 4 ,
140.Xr axe 4 ,
141.Xr bce 4 ,
142.Xr bfe 4 ,
143.Xr bge 4 ,
144.Xr cas 4 ,
145.Xr dc 4 ,
146.Xr ed 4 ,
147.Xr et 4 ,
148.Xr fxp 4 ,
149.Xr gem 4 ,
150.Xr hme 4 ,
151.Xr jme 4 ,
152.Xr lge 4 ,
153.Xr msk 4 ,
154.Xr netintro 4 ,
155.Xr nfe 4 ,
156.Xr nge 4 ,
157.Xr nve 4 ,
158.Xr pcn 4 ,
159.Xr re 4 ,
160.Xr rl 4 ,
161.Xr rue 4 ,
162.Xr sf 4 ,
163.Xr sge 4 ,
164.Xr sis 4 ,
165.Xr sk 4 ,
166.Xr ste 4 ,
167.Xr stge 4 ,
168.Xr tl 4 ,
169.Xr tx 4 ,
170.Xr udav 4 ,
171.Xr vge 4 ,
172.Xr vr 4 ,
173.Xr wb 4 ,
174.Xr xl 4
175.Sh STANDARDS
176More information on MII can be found in the IEEE 802.3 Standard.
177.Sh HISTORY
178The
179.Nm
180driver first appeared in
181.Fx 3.3 .
182.Sh AUTHORS
183This manual page was written by
184.An Tom Rhodes Aq trhodes@FreeBSD.org .
185