1.\" 2.\" Copyright (c) 1998-2001 Semen Ustimenko (semenu@FreeBSD.org) 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\"
| 1.\" 2.\" Copyright (c) 1998-2001 Semen Ustimenko (semenu@FreeBSD.org) 3.\" 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: 9.\" 1. Redistributions of source code must retain the above copyright 10.\" notice, this list of conditions and the following disclaimer. 11.\" 2. Redistributions in binary form must reproduce the above copyright 12.\" notice, this list of conditions and the following disclaimer in the 13.\" documentation and/or other materials provided with the distribution. 14.\" 15.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR 16.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 17.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 18.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 19.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 20.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 21.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 22.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 23.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 24.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 25.\"
|
26.\" $FreeBSD: head/share/man/man4/tx.4 148145 2005-07-19 00:26:30Z trhodes $
| 26.\" $FreeBSD: head/share/man/man4/tx.4 148220 2005-07-21 05:02:39Z trhodes $
|
27.\" 28.Dd July 16, 2005 29.Dt TX 4 30.Os 31.Sh NAME 32.Nm tx 33.Nd "SMC 83c17x Fast Ethernet device driver" 34.Sh SYNOPSIS 35To compile support for the 36.Nm
| 27.\" 28.Dd July 16, 2005 29.Dt TX 4 30.Os 31.Sh NAME 32.Nm tx 33.Nd "SMC 83c17x Fast Ethernet device driver" 34.Sh SYNOPSIS 35To compile support for the 36.Nm
|
37driver into your kernel, place the following lines in your kernel configuration file:
| 37driver into your kernel, place the following lines in your 38kernel configuration file:
|
38.Bd -ragged -offset indent 39.Cd "device miibus" 40.Cd "device tx" 41.Ed 42.Pp 43Alternatively, to load the 44.Nm 45driver at boot time, place the following line in 46.Xr loader.conf 5 : 47.Bd -literal -offset indent 48if_tx_load="YES" 49.Ed 50.Sh DESCRIPTION 51The 52.Nm 53driver provides support for the Ethernet adapters based on the 54SMC 83c17x (EPIC) chips. 55These are mostly SMC 9432 series cards. 56.Pp 57The 58.Nm 59driver supports the following media types (depending on card's capabilities): 60.Pp 61.Bl -tag -width ".Cm 10baseT/UTP" 62.It Cm autoselect 63Enable autonegotiation (default). 64.It Cm 100baseFX 65Set 100Mbps (Fast Ethernet) fiber optic operation. 66.It Cm 100baseTX 67Set 100Mbps (Fast Ethernet) twisted pair operation. 68.It Cm 10baseT/UTP 69Set 10Mbps on 10baseT port. 70.It Cm 10base2/BNC 71Set 10Mbps on 10base2 port. 72.El 73.Pp 74The 75.Nm 76driver supports the following media options: 77.Bl -tag -width ".Cm full-duplex" 78.It Cm full-duplex 79Set full-duplex operation. 80.El 81.Pp 82The 83.Nm 84driver supports oversized Ethernet packets (up to 1600 bytes). 85Refer to the 86.Xr ifconfig 8 87man page on setting the interface's MTU. 88.Pp 89The old 90.Dq Li "ifconfig tx0 linkN" 91method of configuration is not supported. 92.Ss "VLAN (IEEE 802.1Q) support" 93The 94.Nm 95driver supports the VLAN operation (using 96.Xr vlan 4 97interfaces) without decreasing the MTU on the 98.Xr vlan 4 99interfaces. 100.Sh DIAGNOSTICS 101.Bl -diag 102.It "tx%d: device timeout %d packets" 103The device stops responding. 104Device and driver reset follows this error. 105.It "tx%d: PCI fatal error occurred (%s)" 106One of following errors occurred: PCI Target Abort, PCI Master Abort, Data 107Parity Error or Address Parity Error. 108Device and driver reset follows this error. 109.It "tx%d: cannot allocate mbuf header/cluster" 110Cannot allocate memory for received packet. 111Packet thrown away. 112.It "tx%d: can't stop %s DMA" 113While resetting, the driver failed to stop the device correctly. 114.El 115.Sh SEE ALSO 116.Xr arp 4 , 117.Xr miibus 4 , 118.Xr netintro 4 , 119.Xr ng_ether 4 , 120.Xr ifconfig 8 121.Sh BUGS 122The auto-negotiation does not work very well.
| 39.Bd -ragged -offset indent 40.Cd "device miibus" 41.Cd "device tx" 42.Ed 43.Pp 44Alternatively, to load the 45.Nm 46driver at boot time, place the following line in 47.Xr loader.conf 5 : 48.Bd -literal -offset indent 49if_tx_load="YES" 50.Ed 51.Sh DESCRIPTION 52The 53.Nm 54driver provides support for the Ethernet adapters based on the 55SMC 83c17x (EPIC) chips. 56These are mostly SMC 9432 series cards. 57.Pp 58The 59.Nm 60driver supports the following media types (depending on card's capabilities): 61.Pp 62.Bl -tag -width ".Cm 10baseT/UTP" 63.It Cm autoselect 64Enable autonegotiation (default). 65.It Cm 100baseFX 66Set 100Mbps (Fast Ethernet) fiber optic operation. 67.It Cm 100baseTX 68Set 100Mbps (Fast Ethernet) twisted pair operation. 69.It Cm 10baseT/UTP 70Set 10Mbps on 10baseT port. 71.It Cm 10base2/BNC 72Set 10Mbps on 10base2 port. 73.El 74.Pp 75The 76.Nm 77driver supports the following media options: 78.Bl -tag -width ".Cm full-duplex" 79.It Cm full-duplex 80Set full-duplex operation. 81.El 82.Pp 83The 84.Nm 85driver supports oversized Ethernet packets (up to 1600 bytes). 86Refer to the 87.Xr ifconfig 8 88man page on setting the interface's MTU. 89.Pp 90The old 91.Dq Li "ifconfig tx0 linkN" 92method of configuration is not supported. 93.Ss "VLAN (IEEE 802.1Q) support" 94The 95.Nm 96driver supports the VLAN operation (using 97.Xr vlan 4 98interfaces) without decreasing the MTU on the 99.Xr vlan 4 100interfaces. 101.Sh DIAGNOSTICS 102.Bl -diag 103.It "tx%d: device timeout %d packets" 104The device stops responding. 105Device and driver reset follows this error. 106.It "tx%d: PCI fatal error occurred (%s)" 107One of following errors occurred: PCI Target Abort, PCI Master Abort, Data 108Parity Error or Address Parity Error. 109Device and driver reset follows this error. 110.It "tx%d: cannot allocate mbuf header/cluster" 111Cannot allocate memory for received packet. 112Packet thrown away. 113.It "tx%d: can't stop %s DMA" 114While resetting, the driver failed to stop the device correctly. 115.El 116.Sh SEE ALSO 117.Xr arp 4 , 118.Xr miibus 4 , 119.Xr netintro 4 , 120.Xr ng_ether 4 , 121.Xr ifconfig 8 122.Sh BUGS 123The auto-negotiation does not work very well.
|