xref: /freebsd/share/man/man4/miibus.4 (revision 3193579b66fd7067f898dbc54bdea81a0e6f9bd0)
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 February 15, 2003
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 an 4
49Aironet 4500/4800 802.11 wireless NICs
50.It Xr aue 4
51ADMtek USB Ethernet
52.It Xr awi 4
53BayStack 660 and others
54.It Xr bge 4
55Broadcom BCM570xx Gigabit Ethernet
56.It Xr cue 4
57CATC USB Ethernet
58.It Xr dc 4
59DEC/Intel 21143 and various workalikes
60.It Xr ed 4
61NE[12]000, SMC Ultra, 3c503, DS8390 cards
62.It Xr fxp 4
63Intel EtherExpress PRO/100B (82557, 82558)
64.It Xr gem 4
65Sun ERI, Sun GEM and Apple GMAC Ethernet
66.It Xr hme 4
67Sun HME Ethernet
68.It Xr kue 4
69Kawasaki LSI USB Ethernet
70.It Xr my 4
71Myson Technologies PCI Ethernet adaptors
72.It Xr pcn 4
73AMD Am79C97x PCI 10/100
74.It Xr rl 4
75RealTek 8129/8139
76.It Xr rue 4
77RealTek RTL8150 USB To Fast Ethernet
78.It Xr sf 4
79Adaptec AIC-6915
80.It Xr sis 4
81Silicon Integrated Systems SiS 900/SiS 7016
82.It Xr ste 4
83Sundance ST201 (D-Link DFE-550TX)
84.It Xr tl 4
85Texas Instruments ThunderLAN
86.It Xr tx 4
87SMC EtherPower II (83c170)
88.It Xr vr 4
89VIA Rhine, Rhine II
90.It Xr wb 4
91Winbond W89C840F
92.It Xr xl 4
933Com 3c90x
94.El
95.Sh COMPATIBILITY
96The implementation of
97.Nm
98was originally intended to have similar API interfaces
99to
100.Bsx 3.0
101and
102.Nx ,
103but as a result are not well behaved newbus device drivers.
104.Sh SEE ALSO
105.Xr an 4 ,
106.Xr arp 4 ,
107.Xr aue 4 ,
108.Xr awi 4 ,
109.Xr bge 4 ,
110.Xr cue 4 ,
111.Xr dc 4 ,
112.Xr ed 4 ,
113.Xr fxp 4 ,
114.Xr gem 4 ,
115.Xr hme 4 ,
116.Xr kue 4 ,
117.Xr my 4 ,
118.Xr netintro 4 ,
119.Xr pcn 4 ,
120.Xr rl 4 ,
121.Xr rue 4 ,
122.Xr sf 4 ,
123.Xr sis 4 ,
124.Xr ste 4 ,
125.Xr tl 4 ,
126.Xr tx 4 ,
127.Xr vr 4 ,
128.Xr wb 4 ,
129.Xr xl 4
130.Sh STANDARDS
131More information on MII can be found in the IEEE 802.3 Standard.
132.Sh HISTORY
133The
134.Nm
135driver first appeared in
136.Fx 3.3 .
137.Sh AUTHORS
138This manual page was written by
139.An Tom Rhodes Aq trhodes@FreeBSD.org .
140