1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
.\"
.\" Copyright (c) 1997 David E. O'Brien
.\"
.\" 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 DEVELOPERS ``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 DEVELOPERS 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 19, 1997
.Dt LNC 4 i386
.Os
.Sh NAME
.Nm lnc
.Nd AMD Lance/PCnet Ethernet device driver
.Sh SYNOPSIS
.Cd "device lnc 1"
.Pp
In
.Pa /boot/device.hints :
.Cd hint.lnc.0.at="isa"
.Cd hint.lnc.0.port="0x280"
.Cd hint.lnc.0.irq="10"
.Cd hint.lnc.0.drq="0"
.Sh DESCRIPTION
The
.Nm
driver provides support for the AMD family of Lance/PCnet Ethernet NICs
including the Am7990 and Am79C960.
The Ethernet cards supported by the
.Nm
interface are:
.Pp
.Bl -item -offset indent -compact
.It
Novell NE2100
.It
Novell NE32-VL
.It
Isolan BICC
.It
Digital DEPCA
.It
Hewlett Packard Vectra 486/66XM
.It
Hewlett Packard Vectra XU
.It
Diamond HomeFree
.El
.Sh DIAGNOSTICS
.Bl -diag
.It "lnc%d: Framing error"
A framing error occurred. This means a CRC error also occurred.
This caused the driver to drop the packet that contained the framing error.
.It "lnc%d: Receive CRC error
The received Ethernet frame failed the CRC checksum.
This caused the driver to drop the packet that failed the checksum.
.It "lnc%d: Packet dropped, no mbufs"
The driver ran out of mbuf's. This may suggest a resource problem.
.It "lnc%d: Couldn't allocate memory for NIC"
This is a fatal error. The driver will not attach to the card under this
circumstance.
.It "lnc%d: Memory allocated above 16Mb limit"
ISA and ESIA cards require bounce buffers for DMA transfers above 16mb.
The Am7990 and Am79C960 only have 24 address lines and so can only access
the lower 16Mb of physical memory. The
.Nm
driver assumes the memory it allocates is within the lower 16Mb range.
This is not a very valid assumption but there's nothing that can be done
about it yet.
For shared memory NICs this isn't relevant.
.It "lnc%d: Device timeout -- Resetting"
The device has stopped responding to the network, or there is a problem with
the network connection (cable). Make sure the network connection in use
is the same one the card is configured for.
.It "lnc%d: Transmit late collision -- Net error?"
.It "lnc%d: Loss of carrier during transmit -- Net error?"
.It "lnc%d: Transmit of packet failed after 16 attempts -- TDR = %d"
.It "lnc%d: Heartbeat error -- SQE test failed"
.It "lnc%d: Babble error - more than 1519 bytes transmitted"
.It "lnc%d: Missed packet -- no receive buffer"
.It "lnc%d: Memory error -- Resetting"
.It "lnc%d: Couldn't get mbuf for transmit packet -- Resetting"
.It "lnc%d: Receive buffer error"
.It "lnc%d: Receive overflow error"
.It "lnc%d: Receive interrupt with buffer still owned by controller -- Resetting"
.It "lnc%d: Receive interrupt but not start of packet -- Resetting"
.It "lnc%d: Start of packet found before end of previous in receive ring -- Resetting"
.It "lnc%d: End of received packet not found -- Resetting"
.It "lnc%d: Transmit interrupt with buffer still owned by controller -- Resetting"
.It "lnc%d: Transmit interrupt but not start of packet -- Resetting"
.It "lnc%d: Start of packet found before end of previous in transmit ring -- Resetting"
.It "lnc%d: End of transmitted packet not found -- Resetting"
.It "lnc%d: Transmit buffer error -- Resetting"
.It "lnc%d: Transmit underflow error -- Resetting"
.El
.Sh BUGS
This driver has the potential of being the most verbose of any of the
Ethernet device drivers.
.Sh SEE ALSO
.Xr arp 4 ,
.Xr netintro 4 ,
.Xr ng_ether 4 ,
.Xr ifconfig 8
.Sh HISTORY
The
.Nm
device driver first appeared in
.Fx 2.2 .
.Sh AUTHORS
.An -nosplit
The
.Nm
device driver was written by
.An Paul Richards .
Support for the AMD PCHome phone-line based network added by
.An Robert Watson .
This manual page was written by
.An David E. O'Brien .
|