2003-05-29 21:28:36 +00:00
|
|
|
.\"
|
2003-05-03 10:16:56 +00:00
|
|
|
.\" Copyright (c) 2001-2003, Shunsuke Akiyama <akiyama@FreeBSD.org>.
|
|
|
|
.\" All rights reserved.
|
2003-05-29 21:28:36 +00:00
|
|
|
.\"
|
2003-05-03 10:16:56 +00:00
|
|
|
.\" 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.
|
2003-05-29 21:28:36 +00:00
|
|
|
.\"
|
2003-05-03 10:16:56 +00:00
|
|
|
.\" 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.
|
2003-05-29 21:28:36 +00:00
|
|
|
.\"
|
2003-05-03 10:16:56 +00:00
|
|
|
.\" $FreeBSD$
|
2003-05-29 21:28:36 +00:00
|
|
|
.\"
|
2015-11-24 08:34:48 +00:00
|
|
|
.Dd November 24, 2015
|
2003-05-03 10:16:56 +00:00
|
|
|
.Dt RUE 4
|
2003-05-29 21:28:36 +00:00
|
|
|
.Os
|
2003-05-03 10:16:56 +00:00
|
|
|
.Sh NAME
|
|
|
|
.Nm rue
|
2004-08-25 22:46:36 +00:00
|
|
|
.Nd "RealTek RTL8150 USB to Fast Ethernet controller driver"
|
2003-05-03 10:16:56 +00:00
|
|
|
.Sh SYNOPSIS
|
2005-10-07 02:32:16 +00:00
|
|
|
To compile this driver into the kernel,
|
|
|
|
place the following lines in your
|
2005-07-21 05:02:39 +00:00
|
|
|
kernel configuration file:
|
2005-07-19 00:26:30 +00:00
|
|
|
.Bd -ragged -offset indent
|
2003-05-03 10:16:56 +00:00
|
|
|
.Cd "device uhci"
|
|
|
|
.Cd "device ohci"
|
|
|
|
.Cd "device usb"
|
|
|
|
.Cd "device miibus"
|
2015-11-24 08:34:48 +00:00
|
|
|
.Cd "device uether"
|
2003-05-03 10:16:56 +00:00
|
|
|
.Cd "device rue"
|
2005-07-19 00:26:30 +00:00
|
|
|
.Ed
|
|
|
|
.Pp
|
2005-10-07 02:32:16 +00:00
|
|
|
Alternatively, to load the driver as a
|
|
|
|
module at boot time, place the following line in
|
2005-07-19 00:26:30 +00:00
|
|
|
.Xr loader.conf 5 :
|
|
|
|
.Bd -literal -offset indent
|
|
|
|
if_rue_load="YES"
|
|
|
|
.Ed
|
2003-05-03 10:16:56 +00:00
|
|
|
.Sh DESCRIPTION
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver provides support for USB Ethernet adapters based on the RealTek
|
2004-08-25 22:46:36 +00:00
|
|
|
RTL8150 USB to Fast Ethernet controller chip.
|
2003-05-03 10:16:56 +00:00
|
|
|
.Pp
|
2003-05-29 21:28:36 +00:00
|
|
|
The RTL8150 contains an integrated Fast Ethernet MAC, which supports
|
2003-05-03 10:16:56 +00:00
|
|
|
both 10 and 100Mbps speeds in either full or half duplex.
|
|
|
|
Although designed to interface with
|
|
|
|
100Mbps peripheral, the existing USB standard specifies a maximum
|
|
|
|
transfer speed of 12Mbps.
|
|
|
|
Users should therefore not expect to actually
|
|
|
|
achieve 100Mbps speeds with this device.
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media types:
|
2003-05-29 21:28:36 +00:00
|
|
|
.Bl -tag -width ".Cm 10baseT/UTP"
|
|
|
|
.It Cm autoselect
|
2003-05-03 10:16:56 +00:00
|
|
|
Enable auto selection of the media type and options.
|
|
|
|
The user can manually override
|
|
|
|
the auto selected mode by adding media options to the
|
|
|
|
.Pa /etc/rc.conf
|
|
|
|
file.
|
2003-05-29 21:28:36 +00:00
|
|
|
.It Cm 10baseT/UTP
|
2003-05-03 10:16:56 +00:00
|
|
|
Set 10Mbps operation.
|
|
|
|
The
|
2003-05-29 21:28:36 +00:00
|
|
|
.Cm mediaopt
|
2003-05-03 10:16:56 +00:00
|
|
|
option can also be used to select either
|
2003-05-29 21:28:36 +00:00
|
|
|
.Cm full-duplex
|
2003-05-03 10:16:56 +00:00
|
|
|
or
|
2003-05-29 21:28:36 +00:00
|
|
|
.Cm half-duplex
|
2003-05-03 10:16:56 +00:00
|
|
|
modes.
|
2003-05-29 21:28:36 +00:00
|
|
|
.It Cm 100baseTX
|
2003-05-03 10:16:56 +00:00
|
|
|
Set 100Mbps (Fast Ethernet) operation.
|
|
|
|
The
|
2003-05-29 21:28:36 +00:00
|
|
|
.Cm mediaopt
|
2003-05-03 10:16:56 +00:00
|
|
|
option can also be used to select either
|
2003-05-29 21:28:36 +00:00
|
|
|
.Cm full-duplex
|
2003-05-03 10:16:56 +00:00
|
|
|
or
|
2003-05-29 21:28:36 +00:00
|
|
|
.Cm half-duplex
|
2003-05-03 10:16:56 +00:00
|
|
|
modes.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports the following media options:
|
2003-05-29 21:28:36 +00:00
|
|
|
.Bl -tag -width ".Cm 10baseT/UTP"
|
|
|
|
.It Cm full-duplex
|
2003-05-03 10:16:56 +00:00
|
|
|
Force full duplex operation.
|
2003-05-29 21:28:36 +00:00
|
|
|
.It Cm half-duplex
|
2003-05-03 10:16:56 +00:00
|
|
|
Force half duplex operation.
|
|
|
|
.El
|
|
|
|
.Pp
|
|
|
|
For more information on configuring this device, see
|
|
|
|
.Xr ifconfig 8 .
|
2004-08-25 22:46:36 +00:00
|
|
|
.Sh HARDWARE
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver supports RealTek RTL8150 based USB Ethernet
|
|
|
|
adapters including:
|
|
|
|
.Pp
|
|
|
|
.Bl -bullet -compact
|
|
|
|
.It
|
|
|
|
Buffalo (Melco Inc.) LUA-KTX
|
|
|
|
.It
|
|
|
|
Green House GH-USB100B
|
|
|
|
.It
|
|
|
|
LinkSys USB100M
|
|
|
|
.It
|
|
|
|
Billionton 10/100 FastEthernet USBKR2
|
|
|
|
.El
|
2003-05-03 10:16:56 +00:00
|
|
|
.Sh DIAGNOSTICS
|
|
|
|
.Bl -diag
|
|
|
|
.It "rue%d: watchdog timeout"
|
|
|
|
A packet was queued for transmission and a transmit command was
|
|
|
|
issued, however the device failed to acknowledge the transmission
|
|
|
|
before a timeout expired.
|
|
|
|
.It "rue%d: rx list init failed"
|
|
|
|
The driver failed to allocate an mbuf for the transmitter ring.
|
|
|
|
.It "rue%d: no memory for rx list"
|
|
|
|
The driver failed to allocate an mbuf for the receiver ring.
|
2003-05-29 21:28:36 +00:00
|
|
|
.El
|
2003-05-03 10:16:56 +00:00
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr arp 4 ,
|
2004-01-09 17:43:37 +00:00
|
|
|
.Xr miibus 4 ,
|
2003-05-29 21:28:36 +00:00
|
|
|
.Xr netintro 4 ,
|
2003-05-03 10:16:56 +00:00
|
|
|
.Xr ng_ether 4 ,
|
|
|
|
.Xr ifconfig 8
|
|
|
|
.Rs
|
2011-07-23 22:55:32 +00:00
|
|
|
.%T "RealTek RTL8150 data sheet"
|
|
|
|
.%U http://pdf.seekdatasheet.com/2008714/200807142333305235.pdf
|
2003-05-03 10:16:56 +00:00
|
|
|
.Re
|
|
|
|
.Sh HISTORY
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
device driver first appeared in
|
|
|
|
.Fx 5.1 .
|
|
|
|
.Sh AUTHORS
|
|
|
|
The
|
|
|
|
.Nm
|
|
|
|
driver was written by
|
2014-06-26 21:46:14 +00:00
|
|
|
.An Shunsuke Akiyama Aq Mt akiyama@FreeBSD.org .
|