Driver for NE-2000-compatible Ethernet adapters
Syntax:
io-pkt-variant -d ne2000 [option[,option ...]] ...
where variant is one of v4, v4-hc, or
v6-hc.
Options:
Note:
Use commas, not spaces, to separate the options.
- did=0xXXXX
- PCI device ID. The default is
automatically detected on supported hardware.
- ioport=num
- I/O port of the interface. The port
parameter must be a hex address (e.g. 0x320). The default is
automatically detected on supported hardware (but see caution below).
- irq=num
- IRQ of the interface. The default is
automatically detected on supported hardware (but see caution below).
- lan=num
- The LAN number. The default is 0.
- mac=XXXXXXXXXXXX
- MAC address of the controller. The default is
automatically detected on supported hardware.
- nomulticast
- Disables the driver from sending or receiving multicast
packets. By default, multicast is enabled.
- pci=0xXXXX
- PCI index of the controller. The default is
automatically detected on the supported hardware.
- promiscuous
- Enable promiscuous mode. The default is off.
- tmem=name
- Name for typed memory.
- verbose or
verbose=num
- Be verbose. Specify num for more verbosity (num can be 1-4, the higher
the number, the more detailed the output).
The output goes to slogger,
invoke sloginfo to view.
- vid=0xXXXX
- The PCI vendor ID of the controller. The default is automatically
detected on the supported hardware.
- width=8|16
- I/O access width (8 or 16 bits). The default is
automatically detected on supported hardware.
Description:
The devn-ne2000.so driver controls NE-2000-compatible Ethernet
adapters.
CAUTION:
This driver can't always detect the correct irq and ioport
options, especially for ISA devices. To be sure, always specify irq and
ioport when using this driver.
This is a legacy io-net driver;
its interface names are in the form enX, where
X is an integer.
Note:
If the device enumerators (see
enum-devices)
don't recognize your device, try explicitly specifying
the device ID with the
did option when you start the driver.
Some devices support hardware checksums, although some might do so in
only one direction; to determine if your device does, type:
ifconfig enX
and look for the following in the list of supported options:
- ip4csum, ip4csum-rx, ip4csum-tx
- tcp4csum, tcp4csum-rx, tcp4csum-tx
- tcp6csum, tcp6csum-rx, tcp6csum-tx
- udp4csum, udp4csum-rx, udp4csum-tx
- udp6csum, udp6csum-rx, udp6csum-tx
You can then use
ifconfig
to enable or disable whichever of these options your device supports.
Examples:
Start io-pkt-v4-hc using the NE-2000 driver:
io-pkt-v4-hc -d ne2000 ioport=0x320,irq=11
ifconfig en0 10.1.0.184
Files:
- /dev/io-net
- The directory where, by default, drivers and protocol modules add
entries.
For more information, see the documentation for
io-pkt*.
Caveats:
If you're running a PCMCIA NE2000-compatible adapter, you may
need to specify the -w8 command-line option of devp-pccard.