summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2011-01-21 14:05:11 +0000
committerMarius Strobl <marius@FreeBSD.org>2011-01-21 14:05:11 +0000
commit2f352b42dea10a2dd9d97e2a1d0732bf70b4173d (patch)
tree52e34a7d1a0b6d38ee0bc24ff5018aa77b5bba4d
parent22b5bd6143c750e24c2d50d281c99915c6144da4 (diff)
Notes
-rw-r--r--share/man/man4/Makefile1
-rw-r--r--share/man/man4/axe.43
-rw-r--r--share/man/man4/miibus.43
-rw-r--r--share/man/man4/nfe.43
-rw-r--r--share/man/man4/nve.43
-rw-r--r--share/man/man4/re.43
-rw-r--r--share/man/man4/rgephy.496
-rw-r--r--share/man/man4/sge.43
8 files changed, 109 insertions, 6 deletions
diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile
index c25e93e3347f..fb5811d8cff6 100644
--- a/share/man/man4/Makefile
+++ b/share/man/man4/Makefile
@@ -331,6 +331,7 @@ MAN= aac.4 \
random.4 \
rc.4 \
re.4 \
+ rgephy.4 \
rl.4 \
rndtest.4 \
route.4 \
diff --git a/share/man/man4/axe.4 b/share/man/man4/axe.4
index 392d3b276599..3a37e1e9d4dd 100644
--- a/share/man/man4/axe.4
+++ b/share/man/man4/axe.4
@@ -30,7 +30,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd January 20, 2008
+.Dd January 16, 2011
.Dt AXE 4
.Os
.Sh NAME
@@ -206,6 +206,7 @@ The driver failed to allocate an mbuf for the receiver ring.
.Xr miibus 4 ,
.Xr netintro 4 ,
.Xr ng_ether 4 ,
+.Xr rgephy 4 ,
.Xr ifconfig 8
.Rs
.%T "ASIX AX88172 AX88178 and AX88772 data sheets"
diff --git a/share/man/man4/miibus.4 b/share/man/man4/miibus.4
index 5a3859572317..7237467fc3af 100644
--- a/share/man/man4/miibus.4
+++ b/share/man/man4/miibus.4
@@ -8,7 +8,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd April 14, 2010
+.Dd January 15, 2011
.Dt MIIBUS 4
.Os
.Sh NAME
@@ -157,6 +157,7 @@ but as a result are not well behaved newbus device drivers.
.Xr nve 4 ,
.Xr pcn 4 ,
.Xr re 4 ,
+.Xr rgephy 4 ,
.Xr rl 4 ,
.Xr rue 4 ,
.Xr sf 4 ,
diff --git a/share/man/man4/nfe.4 b/share/man/man4/nfe.4
index 1d0a512018d3..bcefb9f9cac9 100644
--- a/share/man/man4/nfe.4
+++ b/share/man/man4/nfe.4
@@ -16,7 +16,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 2, 2008
+.Dd January, 2011
.Dt NFE 4
.Os
.Sh NAME
@@ -174,6 +174,7 @@ before a change takes effect.
.Xr netintro 4 ,
.Xr pci 4 ,
.Xr polling 4 ,
+.Xr rgephy 4 ,
.Xr sysctl 8 ,
.Xr ifconfig 8
.Sh HISTORY
diff --git a/share/man/man4/nve.4 b/share/man/man4/nve.4
index 5fe5229a215e..68bca5982e2e 100644
--- a/share/man/man4/nve.4
+++ b/share/man/man4/nve.4
@@ -26,7 +26,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd December 8, 2007
+.Dd January 16, 2011
.Dt NVE 4
.Os
.Sh NAME
@@ -124,6 +124,7 @@ bandwidth show that the card is actually in 100baseTX mode.
.Xr miibus 4 ,
.Xr netintro 4 ,
.Xr ng_ether 4 ,
+.Xr rgephy 4 ,
.Xr ifconfig 8
.Sh HISTORY
The
diff --git a/share/man/man4/re.4 b/share/man/man4/re.4
index d1905ac41723..bf0e1ca9d0bc 100644
--- a/share/man/man4/re.4
+++ b/share/man/man4/re.4
@@ -30,7 +30,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd October 27, 2010
+.Dd January, 2011
.Dt RE 4
.Os
.Sh NAME
@@ -208,6 +208,7 @@ the network connection (cable).
.Xr netintro 4 ,
.Xr ng_ether 4 ,
.Xr polling 4 ,
+.Xr rgephy 4 ,
.Xr vlan 4 ,
.Xr ifconfig 8
.Rs
diff --git a/share/man/man4/rgephy.4 b/share/man/man4/rgephy.4
new file mode 100644
index 000000000000..d3575c31c7e8
--- /dev/null
+++ b/share/man/man4/rgephy.4
@@ -0,0 +1,96 @@
+.\"
+.\" Copyright (c) 2011 Marius Strobl <marius@FreeBSD.org>
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in the
+.\" documentation and/or other materials provided with the distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.\" $FreeBSD$
+.\"
+.Dd January 15 2011 $
+.Dt RGEPHY 4
+.Os
+.Sh NAME
+.Nm rgephy
+.Nd RealTek RTL8168/8169/8110/8211 series 10/100/1000 Gigabit Ethernet PHY driver
+.Sh SYNOPSIS
+To compile all available PHY drivers into the kernel,
+place the following line in your kernel configuration file:
+.Bd -ragged -offset indent
+.Cd "device miibus"
+.Ed
+.Pp
+Alternatively, to selectively compile this driver into the kernel,
+place the following lines in your kernel configuration file instead:
+.Bd -ragged -offset indent
+.Cd "device mii"
+.Cd "device rgephy"
+.Ed
+.Sh DESCRIPTION
+The
+.Nm
+driver supports the RealTek RTL8168, RTL8169, RTL8110 and RTL8211 series
+integrated 10/100/1000 Gigabit Ethernet PHYs.
+.Pp
+In order to get a list of media types and options supported by a specific
+instance of the
+.Nm
+driver, run
+.Li ifconfig -m
+on the instance of its parent MAC driver.
+.Pp
+Additionally,
+the
+.Nm
+driver supports the following special media option:
+.Bl -tag -width ".Cm flag0"
+.It Cm flag0
+When manually setting media type and options via
+.Xr ifconfig 8 ,
+the
+.Nm
+driver by default also triggers an autonegotiation advertising the selected
+media.
+This is done in order to work around hardware issues in certain scenarios.
+It is believed that this behavior does not cause harm in general but in fact
+can have an adverse effect in edge cases.
+In order to manually set the media type and options without also triggering
+an autonegotiation,
+the
+.Nm
+driver allows to turn this behavior off via the
+.Cm flag0
+media option.
+.El
+.Pp
+Note that this special media option will not show up in the output of
+.Xr ifconfig 8 ,
+even when set.
+.Sh EXAMPLES
+Manually set 100BASE-TX full-duplex without also triggering an
+autonegotiation:
+.Pp
+.Dl "ifconfig re0 media 100baseTX mediaopt full-duplex,flag0"
+.Sh SEE ALSO
+.\".Xr ifmedia 4 ,
+.Xr intro 4 ,
+.Xr miibus 4 ,
+.Xr ifconfig 8
diff --git a/share/man/man4/sge.4 b/share/man/man4/sge.4
index a31563acd6f9..5d6ecf86cbea 100644
--- a/share/man/man4/sge.4
+++ b/share/man/man4/sge.4
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd May 10, 2010
+.Dd January 16, 2011
.Dt SGE 4
.Os
.Sh NAME
@@ -105,6 +105,7 @@ SiS191 Fast/Gigabit Ethernet controller
.Xr miibus 4 ,
.Xr netintro 4 ,
.Xr ng_ether 4 ,
+.Xr rgephy 4 ,
.Xr vlan 4 ,
.Xr ifconfig 8
.Sh HISTORY