]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/al.4
This commit was generated by cvs2svn to compensate for changes in r52746,
[FreeBSD/FreeBSD.git] / share / man / man4 / al.4
1 .\" Copyright (c) 1997, 1998, 1999
2 .\"     Bill Paul <wpaul@ctr.columbia.edu>. All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. All advertising materials mentioning features or use of this software
13 .\"    must display the following acknowledgement:
14 .\"     This product includes software developed by Bill Paul.
15 .\" 4. Neither the name of the author nor the names of any co-contributors
16 .\"    may be used to endorse or promote products derived from this software
17 .\"   without specific prior written permission.
18 .\"
19 .\" THIS SOFTWARE IS PROVIDED BY Bill Paul AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED.  IN NO EVENT SHALL Bill Paul OR THE VOICES IN HIS HEAD
23 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
29 .\" THE POSSIBILITY OF SUCH DAMAGE.
30 .\"
31 .\" $FreeBSD$
32 .\"
33 .Dd May 20, 1999
34 .Dt AL 4 i386
35 .Os FreeBSD
36 .Sh NAME
37 .Nm al
38 .Nd
39 ADMtek Inc. AL981 Comet and AN985 Centaur fast ethernet device driver
40 .Sh SYNOPSIS
41 .Cd "device al0"
42 .Sh DESCRIPTION
43 The
44 .Nm
45 driver provides support for PCI ethernet adapters and embedded
46 controllers based on the ADMtek Inc. AL981 Comet and AN 985
47 Centaur fast ethernet controller chips.
48 .Pp
49 The ADMtek chip uses bus master DMA and is designed to be a
50 DEC 21x4x workalike. The only major difference between the DEC
51 and ADMtek parts is that the ADMtek receiver filter is programmed
52 using two special registers where as the DEC chip is programmed
53 by uploading a special setup frame via the transmit DMA engine.
54 The AL981 and AN985 can only be programmed with a single
55 perfect filter entry for the local station address and a 64-bit
56 multicast hash table; the DEC filter supports several other
57 options. The ADMtek fast ethernet controllers support both
58 10 and 100Mbps speeds in either full or half duplex using
59 an internal MII transceiver.
60 .Pp
61 The
62 .Nm
63 driver supports the following media types:
64 .Pp
65 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
66 .It autoselect
67 Enable autoselection of the media type and options.
68 The user can manually override
69 the autoselected mode by adding media options to the
70 .Pa /etc/rc.conf
71 fine.
72 .It 10baseT/UTP
73 Set 10Mbps operation. The
74 .Ar mediaopt
75 option can also be used to select either
76 .Ar full-duplex
77 or
78 .Ar half-duplex modes.
79 .It 100baseTX
80 Set 100Mbps (fast ethernet) operation. The
81 .Ar mediaopt
82 option can also be used to select either
83 .Ar full-duplex
84 or
85 .Ar half-duplex
86 modes.
87 .El
88 .Pp
89 The
90 .Nm
91 driver supports the following media options:
92 .Pp
93 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
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 "ax%d: couldn't map memory"
105 A fatal initialization error has occurred.
106 .It "ax%d: couldn't map interrupt"
107 A fatal initialization error has occurred.
108 .It "ax%d: watchdog timeout"
109 The device has stopped responding to the network, or there is a problem with
110 the network connection (cable).
111 .It "ax%d: no memory for rx list"
112 The driver failed to allocate an mbuf for the receiver ring.
113 .It "ax%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 cluster.
116 .It "ax%d: chip is in D3 power state -- setting to D0"
117 This message applies only to adapters which support power
118 management. Some operating systems place the controller in low power
119 mode when shutting down, and some PCI BIOSes fail to bring the chip
120 out of this state before configuring it. The controller loses all of
121 its PCI configuration in the D3 state, so if the BIOS does not set
122 it back to full power mode in time, it won't be able to configure it
123 correctly. The driver tries to detect this condition and bring
124 the adapter back to the D0 (full power) state, but this may not be
125 enough to return the driver to a fully operational condition. If
126 you see this message at boot time and the driver fails to attach
127 the device as a network interface, you will have to perform second
128 warm boot to have the device properly configured.
129 .Pp
130 Note that this condition only occurs when warm booting from another
131 operating system. If you power down your system prior to booting
132 .Fx ,
133 the card should be configured correctly.
134 .El
135 .Sh SEE ALSO
136 .Xr arp 4 ,
137 .Xr netintro 4 , 
138 .Xr ifconfig 8
139 .Rs
140 .%T ADMtek AL981 data sheet
141 .%O http://www.admtek.com.tw
142 .Re
143 .Sh HISTORY
144 The
145 .Nm
146 device driver first appeared in
147 .Fx 3.0 .
148 .Sh AUTHORS
149 The
150 .Nm
151 driver was written by
152 .An Bill Paul Aq wpaul@ctr.columbia.edu .