2 .\" Copyright (c) 1998 Michael Smith
3 .\" All rights reserved.
5 .\" Redistribution and use in source and binary forms, with or without
6 .\" modification, are permitted provided that the following conditions
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.
14 .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
18 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33 .Nd "Ethernet device driver"
35 To compile this driver into the kernel,
36 place the following line in your
37 kernel configuration file:
38 .Bd -ragged -offset indent
42 Alternatively, to load the driver as a
43 module at boot time, place the following line in
45 .Bd -literal -offset indent
50 .Pa /boot/device.hints :
51 .Cd hint.cs.0.at="isa"
52 .Cd hint.cs.0.port="0x300"
53 .Cd hint.cs.0.irq="10"
54 .Cd hint.cs.0.maddr="0xd000"
58 driver provides support for ISA Ethernet adapters based on the
59 .Tn Crystal Semiconductor CS8900
63 These devices are used on the
65 adapters and in many embedded applications where the high integration, small
66 size and low cost of the CS89x0 family compensate for their drawbacks.
70 driver will obtain configuration parameters either from
71 .Pa /boot/device.hints
73 At least the I/O port number must be specified.
74 Other parameters specified in
75 .Pa /boot/device.hints
76 will be used if present;
77 the card may be soft-configured so these may be any valid
79 Adapters based on the CS8920 normally offer PnP configuration and the driver
84 adapters automatically.
86 Note that the CS8900 is limited to 4 IRQ values; these are normally implemented
88 The CS8920 has no such limitation.
90 Memory-mapped and DMA operation are not supported at this time.
92 In addition to the ISA devices, the PC Card devices based on the CS889x0
93 family are also supported.
94 The IBM EtherJet PCMCIA Card is the only known device based on this
96 The PC Card support does not need the above specific ISA hints to work.
97 The PC Card support may not work for 10base2 (thinnet) connections and may
98 bogusly claim to support 10base5 (there are no known cards that have an
99 AUI necessary for 10base5 support on their dongles).
102 .It "cs%d: full/half duplex negotiation timeout"
103 The attempt to negotiate duplex settings with the hub timed out.
105 indicate a cabling problem or a faulty or incompatible hub.
106 .It "cs%d: failed to enable <media>"
107 The CS89x0 failed to select the nominated media, either because it is not
108 present or not operating correctly.
109 .It "cs%d: No EEPROM, assuming defaults"
110 The CS89x0 does not have an EEPROM, or the EEPROM is hopelessly damaged.
112 will only be successful if the configuration entry lists suitable values for
114 .It "cs%d: Invalid irq"
115 The IRQ specified in the configuration entry is not valid for the adapter.
116 .It "cs%d: Could not allocate memory for NIC"
117 There is a critical memory shortage.
118 The adapter will not function.
119 .It "cs%d: Adapter has no media"
120 The adapter is not configured for a specific media type.
121 The media type will have
123 .It "This is a %s, but LDN %d is disabled"
124 The PnP probe code found a recognised adapter, but the adapter is disabled.
125 .It "failed to read pnp parms"
126 A PnP adapter was found, but configuration parameters for it could not be read.
127 .It "failed to pnp card parameters"
128 The parameters obtained via PnP were not accepted by the driver.
133 The CS89x0 family of adapters have a very small RAM buffer (4K).
135 cause problems with extremely high network loads or bursty network traffic.
136 In particular, NFS operations should be limited to 1k read/write transactions
137 in order to avoid overruns.
147 device driver was written by
151 This manpage was written by