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"
55 .Sh DEPRECATION NOTICE
58 driver is not present in
61 See https://github.com/freebsd/fcp/blob/master/fcp-0101.md for more
66 driver provides support for ISA Ethernet adapters based on the
67 .Tn Crystal Semiconductor CS8900
71 These devices are used on the
73 adapters and in many embedded applications where the high integration, small
74 size and low cost of the CS89x0 family compensate for their drawbacks.
78 driver will obtain configuration parameters either from
79 .Pa /boot/device.hints
81 At least the I/O port number must be specified.
82 Other parameters specified in
83 .Pa /boot/device.hints
84 will be used if present;
85 the card may be soft-configured so these may be any valid
87 Adapters based on the CS8920 normally offer PnP configuration and the driver
92 adapters automatically.
94 Note that the CS8900 is limited to 4 IRQ values; these are normally implemented
96 The CS8920 has no such limitation.
98 Memory-mapped and DMA operation are not supported at this time.
100 In addition to the ISA devices, the PC Card devices based on the CS889x0
101 family are also supported.
102 The IBM EtherJet PCMCIA Card is the only known device based on this
104 The PC Card support does not need the above specific ISA hints to work.
105 The PC Card support may not work for 10base2 (thinnet) connections and may
106 bogusly claim to support 10base5 (there are no known cards that have an
107 AUI necessary for 10base5 support on their dongles).
110 .It "cs%d: full/half duplex negotiation timeout"
111 The attempt to negotiate duplex settings with the hub timed out.
113 indicate a cabling problem or a faulty or incompatible hub.
114 .It "cs%d: failed to enable <media>"
115 The CS89x0 failed to select the nominated media, either because it is not
116 present or not operating correctly.
117 .It "cs%d: No EEPROM, assuming defaults"
118 The CS89x0 does not have an EEPROM, or the EEPROM is hopelessly damaged.
120 will only be successful if the configuration entry lists suitable values for
122 .It "cs%d: Invalid irq"
123 The IRQ specified in the configuration entry is not valid for the adapter.
124 .It "cs%d: Could not allocate memory for NIC"
125 There is a critical memory shortage.
126 The adapter will not function.
127 .It "cs%d: Adapter has no media"
128 The adapter is not configured for a specific media type.
129 The media type will have
131 .It "This is a %s, but LDN %d is disabled"
132 The PnP probe code found a recognised adapter, but the adapter is disabled.
133 .It "failed to read pnp parms"
134 A PnP adapter was found, but configuration parameters for it could not be read.
135 .It "failed to pnp card parameters"
136 The parameters obtained via PnP were not accepted by the driver.
149 device driver was written by
153 This manpage was written by
156 The CS89x0 family of adapters have a very small RAM buffer (4K).
158 cause problems with extremely high network loads or bursty network traffic.
159 In particular, NFS operations should be limited to 1k read/write transactions
160 in order to avoid overruns.