Fix another path
[dragonfly.git] / share / man / man4 / pcn.4
1 .\" Copyright (c) Berkeley Software Design, Inc.
2 .\" Copyright (c) 1997, 1998, 1999, 2000
3 .\"     Bill Paul <wpaul@osd.bsdi.com>. All rights reserved.
4 .\"
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
7 .\" are met:
8 .\" 1. Redistributions of source code must retain the above copyright
9 .\"    notice, this list of conditions and the following disclaimer.
10 .\" 2. Redistributions in binary form must reproduce the above copyright
11 .\"    notice, this list of conditions and the following disclaimer in the
12 .\"    documentation and/or other materials provided with the distribution.
13 .\" 3. All advertising materials mentioning features or use of this software
14 .\"    must display the following acknowledgement:
15 .\"     This product includes software developed by Bill Paul.
16 .\" 4. Neither the name of the author nor the names of any co-contributors
17 .\"    may be used to endorse or promote products derived from this software
18 .\"   without specific prior written permission.
19 .\"
20 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
21 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23 .\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
24 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
30 .\" THE POSSIBILITY OF SUCH DAMAGE.
31 .\"
32 .\" $FreeBSD: src/share/man/man4/pcn.4,v 1.3.2.5 2003/02/17 21:20:39 trhodes Exp $
33 .\" $DragonFly: src/share/man/man4/pcn.4,v 1.5 2008/05/02 02:05:05 swildner Exp $
34 .\"
35 .Dd September 18, 2000
36 .Dt PCN 4
37 .Os
38 .Sh NAME
39 .Nm pcn
40 .Nd "AMD PCnet/PCI fast ethernet device driver"
41 .Sh SYNOPSIS
42 .Cd "device miibus"
43 .Cd "device pcn"
44 .Sh DESCRIPTION
45 The
46 .Nm
47 driver provides support for PCI ethernet adapters and embedded
48 controllers based on the AMD PCnet/FAST, PCnet/FAST+, PCnet/FAST III,
49 PCnet/PRO and PCnet/Home ethernet controller chips.
50 .Pp
51 The PCnet/PCI chips include a 100Mbps ethernet MAC and support
52 both a serial and MII-compliant transceiver interface.
53 They use a bus master DMA and a scatter/gather descriptor scheme.
54 The AMD chips provide a mechanism for zero-copy receive,
55 providing good performance in server environments.
56 Receive address filtering is provided using a single perfect filter entry
57 for the station address and a 64-bit multicast hash table.
58 .Pp
59 The
60 .Nm
61 driver supports the following media types:
62 .Bl -tag -width 10baseTXUTP
63 .It autoselect
64 Enable autoselection of the media type and options.
65 The user can manually override
66 the autoselected mode by adding media options to
67 .Xr rc.conf 5 .
68 .It 10baseT/UTP
69 Set 10Mbps operation.
70 The
71 .Xr ifconfig 8
72 .Cm mediaopt
73 option can also be used to select either
74 .Sq full-duplex
75 or
76 .Sq half-duplex
77 modes.
78 .It 100baseTX
79 Set 100Mbps (fast ethernet) operation.
80 The
81 .Xr ifconfig 8
82 .Cm mediaopt
83 option can also be used to select either
84 .Sq full-duplex
85 or
86 .Sq half-duplex
87 modes.
88 .El
89 .Pp
90 The
91 .Nm
92 driver supports the following media options:
93 .Bl -tag -width full-duplex
94 .It full-duplex
95 Force full duplex operation
96 .It half-duplex
97 Force half duplex operation.
98 .El
99 .Pp
100 For more information on configuring this device, see
101 .Xr ifconfig 8 .
102 .Sh DIAGNOSTICS
103 .Bl -diag
104 .It "pcn%d: couldn't map ports/memory"
105 A fatal initialization error has occurred.
106 .It "pcn%d: couldn't map interrupt"
107 A fatal initialization error has occurred.
108 .It "pcn%d: watchdog timeout"
109 The device has stopped responding to the network, or there is a problem with
110 the network connection (e.g. a cable fault).
111 .It "pcn%d: no memory for rx list"
112 The driver failed to allocate an mbuf for the receiver ring.
113 .It "pcn%d: no memory for tx list"
114 The driver failed to allocate an mbuf for the transmitter ring when
115 allocating a pad buffer or collapsing an mbuf chain into a clusisr.
116 .It "pcn%d: chip is in D3 power state -- setting to D0"
117 This message applies only to adapters which support power
118 management.
119 Some operating systems place the controller in low power
120 mode when shutting down, and some PCI BIOSes fail to bring the chip
121 out of this state before configuring it.
122 The controller loses all of
123 its PCI configuration in the D3 state, so if the BIOS does not set
124 it back to full power mode in time, it will not be able to configure it
125 correctly.
126 The driver tries to detect this condition and bring
127 the adapter back to the D0 (full power) state, but this may not be
128 enough to return the driver to a fully operational condition.
129 If
130 you see this message at boot time and the driver fails to attach
131 the device as a network interface, you will have to perform a
132 warm boot to have the device properly configured.
133 .Pp
134 Note that this condition only occurs when warm booting from another
135 operating system.
136 If you power down your system prior to booting
137 .Dx ,
138 the card should be configured correctly.
139 .El
140 .Sh SEE ALSO
141 .Xr arp 4 ,
142 .Xr ifmedia 4 ,
143 .Xr miibus 4 ,
144 .Xr netintro 4 ,
145 .Xr ng_ether 4 ,
146 .Xr ifconfig 8
147 .Rs
148 .%T AMD PCnet/FAST, PCnet/FAST+ and PCnet/Home datasheets
149 .%O http://www.amd.com
150 .Re
151 .Sh HISTORY
152 The
153 .Nm
154 device driver first appeared in
155 .Fx 4.3 .
156 .Sh AUTHORS
157 The
158 .Nm
159 driver was written by
160 .An Bill Paul Aq wpaul@osd.bsdi.com .