diff options
Diffstat (limited to 'share/man/man4/ifmedia.4')
-rw-r--r-- | share/man/man4/ifmedia.4 | 93 |
1 files changed, 57 insertions, 36 deletions
diff --git a/share/man/man4/ifmedia.4 b/share/man/man4/ifmedia.4 index 1a4141569f0..58ce778c898 100644 --- a/share/man/man4/ifmedia.4 +++ b/share/man/man4/ifmedia.4 @@ -1,4 +1,4 @@ -.\" $OpenBSD: ifmedia.4,v 1.6 2001/03/01 16:11:17 aaron Exp $ +.\" $OpenBSD: ifmedia.4,v 1.7 2001/10/05 14:45:53 mpech Exp $ .\" $NetBSD: ifmedia.4,v 1.1 1998/08/09 00:37:17 thorpej Exp $ .\" .\" Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -50,8 +50,8 @@ The .Nm interface provides a consistent method for querying and setting -network interface media and media options. The media is typically -set using the +network interface media and media options. +The media is typically set using the .Xr ifconfig 8 command. .Pp @@ -68,32 +68,38 @@ FDDI .El .Pp The following sections describe the possible media settings for each -link type. Not all of these are supported by every device; refer to +link type. +Not all of these are supported by every device; refer to your device's manual page for more information. .Pp The lists below provide the possible names of each media type or option. The first name in the list is the canonical name of the media type or -option. Additional names are acceptable aliases for the media type or option. +Additional names are acceptable aliases for the media type or option. .Sh COMMON MEDIA TYPES AND OPTIONS The following media types are shared by all link types: .Bl -tag -offset indent -width IFM_MANUAL .It Dv IFM_AUTO -Autoselect the best media. [autoselect, auto] +Autoselect the best media. +[autoselect, auto] .It Dv IFM_MANUAL -Jumper or switch on device selects media. [manual] +Jumper or switch on device selects media. +[manual] .It Dv IFM_NONE -Deselect all media. [none] +Deselect all media. +[none] .El .Pp The following media options are shared by all link types: .Bl -tag -offset indent -width IFM_FLAG0 .It Dv IFM_FDX -Place the device into full-duplex mode. This option only has meaning -if the device is normally not full-duplex. [full-duplex, fdx] +Place the device into full-duplex mode. +This option only has meaning if the device is normally not full-duplex. +[full-duplex, fdx] .It Dv IFM_HDX -Place the device into half-duplex mode. This option only has meaning -if the device is normally not half-duplex. [half-duplex, hdx] +Place the device into half-duplex mode. +This option only has meaning if the device is normally not half-duplex. +[half-duplex, hdx] .It Dv IFM_FLAG0 Driver-defined flag. [flag0] .It Dv IFM_FLAG1 @@ -101,14 +107,15 @@ Driver-defined flag. [flag1] .It Dv IFM_FLAG2 Driver-defined flag. [flag2] .It Dv IFM_LOOP -Place the device into hardware loopback mode. [loopback, hw-loopback, loop] +Place the device into hardware loopback mode. +[loopback, hw-loopback, loop] .El .Sh MEDIA TYPES AND OPTIONS FOR ETHERNET The following media types are defined for Ethernet: .Bl -tag -offset indent -width IFM_1000_FX .It Dv IFM_10_T -10baseT, 10Mb/s over unshielded twisted pair, RJ45 connector. [10baseT, -UTP, 10UTP] +10baseT, 10Mb/s over unshielded twisted pair, RJ45 connector. +[10baseT, UTP, 10UTP] .It Dv IFM_10_2 10base2, 10Mb/s over coaxial cable, BNC connector, also called Thinnet. [10base2, BNC, 10BNC] @@ -116,24 +123,29 @@ UTP, 10UTP] 10base5, 10Mb/s over 15-wire cables, DB15 connector, also called AUI. [10base5, AUI, 10AUI] .It Dv IFM_100_TX -100baseTX, 100Mb/s over unshielded twisted pair, RJ45 connector. [100baseTX, -100TX] +100baseTX, 100Mb/s over unshielded twisted pair, RJ45 connector. +[100baseTX, 100TX] .It Dv IFM_100_FX -100baseFX, 100Mb/s over fiber optic cables. [100baseFX, 100FX] +100baseFX, 100Mb/s over fiber optic cables. +[100baseFX, 100FX] .It Dv IFM_100_T4 100baseT4, 100Mb/s over 4-wire (category 3) unshielded twisted pair, RJ45 -connector. [100baseT4, 100T4] +connector. +[100baseT4, 100T4] .It Dv IFM_100_VG -100baseVG AnyLAN. [100baseVG, 100VG] +100baseVG AnyLAN. +[100baseVG, 100VG] .It Dv IFM_100_T2 100baseT2. [100baseT2, 100T2] .It Dv IFM_1000_FX -1000baseFX, 1Gb/s over fiber optic cables. [1000baseFX, 1000FX] +1000baseFX, 1Gb/s over fiber optic cables. +[1000baseFX, 1000FX] .It Dv IFM_10_STP -10baseSTP, 10Mb/s over shielded twisted pair, DB9 connector. [10baseSTP, -STP, 10STP] +10baseSTP, 10Mb/s over shielded twisted pair, DB9 connector. +[10baseSTP, STP, 10STP] .It Dv IFM_10_FL -10baseFL, 10Mb/s over fiber optic cables. [10baseFL, FL, 10FL] +10baseFL, 10Mb/s over fiber optic cables. +[10baseFL, FL, 10FL] .El .Pp There are no link type-specific options defined for Ethernet. @@ -141,23 +153,30 @@ There are no link type-specific options defined for Ethernet. The following media types are defined for Token Ring: .Bl -tag -offset indent -width IFM_TOK_UTP16 .It Dv IFM_TOK_STP4 -4Mb/s, shielded twisted pair, DB9 connector. [DB9/4Mbit, 4STP] +4Mb/s, shielded twisted pair, DB9 connector. +[DB9/4Mbit, 4STP] .It Dv IFM_TOK_STP16 -16Mb/s, shielded twisted pair, DB9 connector. [DB9/16Mbit, 16STP] +16Mb/s, shielded twisted pair, DB9 connector. +[DB9/16Mbit, 16STP] .It Dv IFM_TOK_UTP4 -4Mb/s, unshielded twisted pair, RJ45 connector. [UTP/4Mbit, 4UTP] +4Mb/s, unshielded twisted pair, RJ45 connector. +[UTP/4Mbit, 4UTP] .It Dv IFM_TOK_UTP16 -16Mb/s, unshielded twisted pair, RJ45 connector. [UTP/16Mbit, 16UTP] +16Mb/s, unshielded twisted pair, RJ45 connector. +[UTP/16Mbit, 16UTP] .El .Pp The following media options are defined for Token Ring: .Bl -tag -offset indent -width IFM_TOK_SRCRT .It Dv IFM_TOK_ETR -Early token release. [EarlyTokenRelease, ETR] +Early token release. +[EarlyTokenRelease, ETR] .It Dv IFM_TOK_SRCRT -Enable source routing features. [SourceRouting, SRCRT] +Enable source routing features. +[SourceRouting, SRCRT] .It Dv IFM_TOK_ALLR -All routes vs. single route broadcast. [AllRoutes, ALLR] +All routes vs. single route broadcast. +[AllRoutes, ALLR] .El .Sh MEDIA TYPES AND OPTIONS FOR FDDI The following media types are defined for FDDI: @@ -167,13 +186,15 @@ Single-mode fiber. [Single-mode, SMF] .It Dv IFM_FDDI_MMF Multi-mode fiber. [Multi-mode, MMF] .It Dv IFM_FDDI_UTP -Unshielded twisted pair, RJ45 connector. [UTP, CDDI] +Unshielded twisted pair, RJ45 connector. +[UTP, CDDI] .El .Pp The following media options are defined for FDDI: .Bl -tag -offset indent -width IFM_FDDI_DA .It Dv IFM_FDDI_DA -Dual-attached station vs. Single-attached station. [dual-attach, das] +Dual-attached station vs. Single-attached station. +[dual-attach, das] .El .Sh SEE ALSO .Xr netintro 4 , @@ -186,6 +207,6 @@ interface first appeared in The implementation that appeared in .Nx 1.3 was written by Jonathan Stone and Jason R. Thorpe to be compatible with -the BSDI API. It has since gone through several revisions which have -extended the API while maintaining backwards compatibility with the -original API. +the BSDI API. +It has since gone through several revisions which have extended the API +while maintaining backwards compatibility with the original API. |