]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/sf.4
This commit was generated by cvs2svn to compensate for changes in r170764,
[FreeBSD/FreeBSD.git] / share / man / man4 / sf.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 July 16, 2005
34 .Dt SF 4
35 .Os
36 .Sh NAME
37 .Nm sf
38 .Nd "Adaptec AIC-6915"
39 .Qq Starfire
40 PCI Fast Ethernet adapter driver
41 .Sh SYNOPSIS
42 To compile this driver into the kernel,
43 place the following lines in your
44 kernel configuration file:
45 .Bd -ragged -offset indent
46 .Cd "device miibus"
47 .Cd "device sf"
48 .Ed
49 .Pp
50 Alternatively, to load the driver as a
51 module at boot time, place the following line in
52 .Xr loader.conf 5 :
53 .Bd -literal -offset indent
54 if_sf_load="YES"
55 .Ed
56 .Sh DESCRIPTION
57 The
58 .Nm
59 driver provides support for Adaptec Duralink Fast Ethernet adapters
60 based on the Adaptec AIC-6915 "Starfire" chipset.
61 .Pp
62 The AIC-6915 is a bus master controller with an MII interface.
63 It
64 supports high and low priority transmit and receive queues, TCP/IP
65 checksum offload, multiple DMA descriptor formats and both polling
66 and producer/consumer DMA models.
67 The AIC-6915 receive filtering
68 options include a 16 entry perfect filter, a 512-bit hash table
69 for multicast addresses, a 512-bit hash table for priority address
70 matching and VLAN filtering.
71 An external MII-compliant transceiver
72 is required for media interfacing.
73 .Pp
74 Multiport adapters consist of several AIC-6915 controllers connected
75 via a PCI to PCI bridge.
76 Each controller is treated as a separate
77 interface by the
78 .Nm
79 driver.
80 .Pp
81 The
82 .Nm
83 driver supports the following media types:
84 .Pp
85 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
86 .It autoselect
87 Enable autoselection of the media type and options.
88 The user can manually override
89 the autoselected mode by adding media options to the
90 .Pa /etc/rc.conf
91 file.
92 .It 10baseT/UTP
93 Set 10Mbps operation.
94 The
95 .Ar mediaopt
96 option can also be used to select either
97 .Ar full-duplex
98 or
99 .Ar half-duplex
100 modes.
101 .It 100baseTX
102 Set 100Mbps (Fast Ethernet) operation.
103 The
104 .Ar mediaopt
105 option can also be used to select either
106 .Ar full-duplex
107 or
108 .Ar half-duplex
109 modes.
110 .El
111 .Pp
112 The
113 .Nm
114 driver supports the following media options:
115 .Pp
116 .Bl -tag -width xxxxxxxxxxxxxxxxxxxx
117 .It full-duplex
118 Force full duplex operation
119 .It half-duplex
120 Force half duplex operation.
121 .El
122 .Pp
123 For more information on configuring this device, see
124 .Xr ifconfig 8 .
125 .Sh HARDWARE
126 Adapters supported by the
127 .Nm
128 driver include:
129 .Pp
130 .Bl -bullet -compact
131 .It
132 ANA-62011 64-bit single port 10/100baseTX adapter
133 .It
134 ANA-62022 64-bit dual port 10/100baseTX adapter
135 .It
136 ANA-62044 64-bit quad port 10/100baseTX adapter
137 .It
138 ANA-69011 32-bit single port 10/100baseTX adapter
139 .It
140 ANA-62020 64-bit single port 100baseFX adapter
141 .El
142 .Sh DIAGNOSTICS
143 .Bl -diag
144 .It "sf%d: couldn't map memory"
145 A fatal initialization error has occurred.
146 This may
147 happen if the PCI BIOS not configured the device, which may be because
148 the BIOS has been configured for a "Plug and Play" operating system.
149 The "Plug and Play OS" setting in the BIOS should be set to "no" or
150 "off" in order for PCI devices to work properly with
151 .Fx .
152 .It "sf%d: couldn't map ports"
153 A fatal initialization error has occurred.
154 This may
155 happen if the PCI BIOS not configured the device, which may be because
156 the BIOS has been configured for a "Plug and Play" operating system.
157 The "Plug and Play OS" setting in the BIOS should be set to "no" or
158 "off" in order for PCI devices to work properly with
159 .Fx .
160 .It "sf%d: couldn't map interrupt"
161 A fatal initialization error has occurred.
162 .It "sf%d: no memory for softc struct!"
163 The driver failed to allocate memory for per-device instance information
164 during initialization.
165 .It "sf%d: failed to enable I/O ports/memory mapping!"
166 The driver failed to initialize PCI I/O port or shared memory access.
167 This might happen if the card is not in a bus-master slot.
168 .It "sf%d: watchdog timeout"
169 The device has stopped responding to the network, or there is a problem with
170 the network connection (cable).
171 .El
172 .Sh SEE ALSO
173 .Xr altq 4 ,
174 .Xr arp 4 ,
175 .Xr miibus 4 ,
176 .Xr netintro 4 ,
177 .Xr ng_ether 4 ,
178 .Xr polling 4 ,
179 .Xr ifconfig 8
180 .Rs
181 .%T The Adaptec AIC-6915 Programmer's Manual
182 .%O http://download.adaptec.com/pdfs/user_guides/aic6915_pg.pdf
183 .Re
184 .Sh HISTORY
185 The
186 .Nm
187 device driver first appeared in
188 .Fx 3.0 .
189 .Sh AUTHORS
190 The
191 .Nm
192 driver was written by
193 .An Bill Paul Aq wpaul@ctr.columbia.edu .