Get rid of seriously out of date example code.
[dragonfly.git] / share / man / man4 / miibus.4
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 .\" $DragonFly: src/share/man/man4/miibus.4,v 1.6 2005/12/15 09:04:59 swildner Exp $
11 .\"
12 .Dd February 15, 2003
13 .Dt MIIBUS 4
14 .Os
15 .Sh NAME
16 .Nm miibus
17 .Nd IEEE 802.3 Media Independent Interface network bus
18 .Sh SYNOPSIS
19 For most network interface cards (NIC):
20 .Cd "device miibus"
21 .Sh DESCRIPTION
22 The
23 .Nm
24 driver provides an interconnection between the Media Access Control (MAC)
25 sublayer, the Physical Layer entities (PHY), Station Management (STA)
26 entities, and the PHY Layer as defined by the IEEE 802.3 Standard.
27 .Pp
28 The
29 .Nm
30 layer allows network device drivers to share common support
31 code for various external PHY devices.
32 Most 10/100 network interface cards either use an MII transceiver
33 or have built-in transceivers that can be programmed using an MII
34 interface.
35 The
36 .Nm
37 driver currently handles all of the media detection,
38 selection, and reporting using the ifmedia interface.
39 A generic driver has been included for all PHYs that are not
40 handled by a specific driver, this is possible because all
41 10/100 PHYs implement the same general register set along with
42 their vendor specific register set.
43 .Pp
44 The following network device drivers use the
45 .Nm
46 interface:
47 .Pp
48 .Bl -tag -compact -width ".Xr fxp 4"
49 .It Xr aue 4
50 ADMtek USB Ethernet
51 .It Xr axe 4
52 ASIX Electronics AX88172 USB Ethernet
53 .It Xr bfe 4
54 Broadcom BCM440x 10/100 Ethernet
55 .It Xr bge 4
56 Broadcom BCM570xx Gigabit Ethernet
57 .It Xr dc 4
58 DEC/Intel 21143 and various workalikes
59 .It Xr ed 4
60 NE[12]000, SMC Ultra, 3c503, DS8390 cards
61 .It Xr fxp 4
62 Intel EtherExpress PRO/100B
63 .It Xr gx 4
64 Intel Pro/1000 82542/82543 Gigabit Ethernet
65 .It Xr lge 4
66 Level 1 LXT1001 NetCellerator Gigabit Ethernet
67 .It Xr nge 4
68 National Semiconductor DP83820/DP83821 Gigabit Ethernet
69 .It Xr nv 4
70 NVIDIA nForce MCP Networking Adapter
71 .It Xr pcn 4
72 AMD Am79C97x PCI 10/100
73 .It Xr re 4
74 RealTek 8139C+/8169/8169S/8110S
75 .It Xr rl 4
76 RealTek 8129/8139
77 .It Xr rue 4
78 RealTek RTL8150 USB To Fast Ethernet
79 .It Xr sf 4
80 Adaptec AIC-6915
81 .It Xr sis 4
82 Silicon Integrated Systems SiS 900/SiS 7016
83 .It Xr sk 4
84 SysKonnect SK-984x and SK-982x Gigabit Ethernet
85 .It Xr ste 4
86 Sundance ST201 (D-Link DFE-550TX)
87 .It Xr tl 4
88 Texas Instruments ThunderLAN
89 .It Xr tx 4
90 SMC EtherPower II (83c170)
91 .It Xr vr 4
92 VIA Rhine, Rhine II
93 .It Xr wb 4
94 Winbond W89C840F
95 .It Xr xl 4
96 3Com 3c90x
97 .El
98 .Sh COMPATIBILITY
99 The implementation of
100 .Nm
101 was originally intended to have similar API interfaces
102 to
103 .Bsx 3.0
104 and
105 .Nx ,
106 but as a result are not well behaved newbus device drivers.
107 .Sh SEE ALSO
108 .Xr arp 4 ,
109 .Xr aue 4 ,
110 .Xr axe 4 ,
111 .Xr bfe 4 ,
112 .Xr bge 4 ,
113 .Xr dc 4 ,
114 .Xr ed 4 ,
115 .Xr fxp 4 ,
116 .Xr gx 4 ,
117 .Xr lge 4 ,
118 .Xr netintro 4 ,
119 .Xr nge 4 ,
120 .Xr nv 4 ,
121 .Xr pcn 4 ,
122 .Xr re 4 ,
123 .Xr rl 4 ,
124 .Xr rue 4 ,
125 .Xr sf 4 ,
126 .Xr sis 4 ,
127 .Xr sk 4 ,
128 .Xr ste 4 ,
129 .Xr tl 4 ,
130 .Xr tx 4 ,
131 .Xr vr 4 ,
132 .Xr wb 4 ,
133 .Xr xl 4
134 .Sh STANDARDS
135 More information on MII can be found in the IEEE 802.3 Standard.
136 .Sh HISTORY
137 The
138 .Nm
139 driver first appeared in
140 .Fx 3.3 .
141 .Sh AUTHORS
142 This manual page was written by
143 .An Tom Rhodes Aq trhodes@FreeBSD.org .