xref: /openbsd-src/share/man/man4/mii.4 (revision 2b0358df1d88d06ef4139321dd05bd5e05d91eaf)
1.\"	$OpenBSD: mii.4,v 1.28 2008/09/26 21:39:34 brad Exp $
2.\"	$NetBSD: mii.4,v 1.1 1998/11/04 05:21:50 thorpej Exp $
3.\"
4.\" Copyright (c) 1998 The NetBSD Foundation, Inc.
5.\" All rights reserved.
6.\"
7.\" This code is derived from software contributed to The NetBSD Foundation
8.\" by Jason R. Thorpe of the Numerical Aerospace Simulation Facility,
9.\" NASA Ames Research Center.
10.\"
11.\" Redistribution and use in source and binary forms, with or without
12.\" modification, are permitted provided that the following conditions
13.\" are met:
14.\" 1. Redistributions of source code must retain the above copyright
15.\"    notice, this list of conditions and the following disclaimer.
16.\" 2. Redistributions in binary form must reproduce the above copyright
17.\"    notice, this list of conditions and the following disclaimer in the
18.\"    documentation and/or other materials provided with the distribution.
19.\"
20.\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23.\" PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30.\" POSSIBILITY OF SUCH DAMAGE.
31.\"
32.Dd $Mdocdate: September 26 2008 $
33.Dt MII 4
34.Os
35.Sh NAME
36.Nm mii
37.Nd IEEE 802.3 Media Independent Interface
38.Sh SYNOPSIS
39.Cd "acphy* at mii?"
40.Cd "amphy* at mii?"
41.Cd "atphy* at mii?"
42.Cd "bmtphy* at mii?"
43.Cd "brgphy* at mii?"
44.Cd "ciphy* at mii?"
45.Cd "dcphy* at mii?"
46.Cd "eephy* at mii?"
47.Cd "etphy* at mii?"
48.Cd "exphy* at mii?"
49.Cd "gentbi* at mii?"
50.Cd "icsphy* at mii?"
51.Cd "ipgphy* at mii?"
52.Cd "inphy* at mii?"
53.Cd "iophy* at mii?"
54.Cd "jmphy* at mii?"
55.Cd "luphy* at mii?"
56.Cd "lxtphy* at mii?"
57.Cd "mtdphy* at mii?"
58.Cd "nsgphy* at mii?"
59.Cd "nsphy* at mii?"
60.Cd "nsphyter* at mii?"
61.Cd "qsphy* at mii?"
62.Cd "rgephy* at mii?"
63.Cd "rlphy* at mii?"
64.Cd "sqphy* at mii?"
65.Cd "tlphy* at mii?"
66.Cd "tqphy* at mii?"
67.Cd "txphy* at mii?"
68.Cd "ukphy* at mii?"
69.Cd "urlphy* at mii?"
70.Cd "xmphy* at mii?"
71.Sh DESCRIPTION
72Media Independent Interface is an IEEE standard serial bus for
73connecting MACs (network controllers) to PHYs (physical media
74interfaces).
75The
76.Nm
77layer allows network device drivers to share support code for
78various PHY models, and allows unused support for PHYs which
79are not present in a system to be removed from the kernel.
80.Pp
81Network device drivers which use the
82.Nm
83layer carry the
84.Dq mii
85autoconfiguration attribute.
86This allows kernel configuration files to simply specify PHYs as
87described above in
88.Sx SYNOPSIS .
89.Pp
90The following is an example of the messages displayed when a network
91interface with an attached PHY is detected by the kernel:
92.Bd -literal -offset indent
93hme0 at sbus0 slot 1 offset 0x8c00000 pri 7: address 08:00:20:22:86:b8 rev 34
94nsphy0 at hme0 phy 1: DP83840 10/100 PHY, rev. 1
95.Ed
96.Pp
97.Xr ifconfig 8
98can be used to display the media types supported by the PHY.
99These media types are valid media keywords for use with the
100.Xr ifconfig 8
101program.
102.Sh SEE ALSO
103.Xr acphy 4 ,
104.Xr amphy 4 ,
105.Xr atphy 4 ,
106.Xr bmtphy 4 ,
107.Xr brgphy 4 ,
108.Xr ciphy 4 ,
109.Xr dcphy 4 ,
110.Xr eephy 4 ,
111.Xr etphy 4 ,
112.Xr exphy 4 ,
113.Xr gentbi 4 ,
114.Xr icsphy 4 ,
115.Xr ifmedia 4 ,
116.Xr inphy 4 ,
117.Xr intro 4 ,
118.Xr iophy 4 ,
119.Xr ipgphy 4 ,
120.Xr jmphy 4 ,
121.Xr luphy 4 ,
122.Xr lxtphy 4 ,
123.Xr mtdphy 4 ,
124.Xr netintro 4 ,
125.Xr nsgphy 4 ,
126.Xr nsphy 4 ,
127.Xr nsphyter 4 ,
128.Xr qsphy 4 ,
129.Xr rgephy 4 ,
130.Xr rlphy 4 ,
131.Xr sqphy 4 ,
132.Xr tlphy 4 ,
133.Xr tqphy 4 ,
134.Xr txphy 4 ,
135.Xr ukphy 4 ,
136.Xr urlphy 4 ,
137.Xr xmphy 4 ,
138.Xr ifconfig 8
139