devnp-speedo.so

Driver for Intel 82557, 82558, and 82559 Fast Ethernet LAN adapters

Syntax:

io-pkt-variant -d speedo [[index:option[,[index:option ...]] ... &

where variant is one of v4, v4-hc, or v6-hc.

Runs on:

Neutrino

Options:


Note: Use commas, not spaces, to separate the options.

did=0xXXXX
Device ID. Only attach to device with this PCI index. The default is automatically detected on supported hardware.
duplex=0|1
Half (0) or full (1) duplex mode. The default is automatically detected on supported hardware. If you specify duplex, you must also specify speed.
irq=num
The IRQ of the interface. The default is automatically detected on supported hardware.
kermask=0|1
Specify the masking:
mac=XXXXXXXXXXXX
The MAC address of the controller. The default is automatically detected on supported hardware.
mmap
Use memory-mapped registers. The default is I/O mapped.

Note: The mmap option is supported on all targets except x86.

nomulticast
Disable the driver from sending or receiving multicast packets. By default, multicast is enabled.
pci=0xXXXX
The PCI index of the controller. The default is automatically detected on supported hardware.
phy=num
The address of the connected PHY device.
receive=num
The number of receive descriptors; the default is 256.
speed=10|100
The media data rate (10 Mbit or 100 Mbit operation). The default (0) is automatically detected on supported hardware. If you specify speed, you must also specify duplex.
transmit=num
The number of transmit descriptors; the default is 1024.
verbose
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 it.
vid=0xXXXX
Attach only to devices with this PCI vendor ID. The default is 0x8086.

Description:

The devnp-speedo.so driver manages the Intel 82557, 82558, and 82559 Fast Ethernet LAN adapters. This is a native io-pkt driver; its interface names are in the form fxpX, 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 fxpX

and look for the following in the list of supported options:

You can then use ifconfig to enable or disable whichever of these options your device supports.


Note: Native io-pkt and ported NetBSD drivers don't put entries into the /dev/io-net namespace, so a waitfor command for such an entry won't work properly in buildfiles or scripts. Use if_up -p instead; for example, instead of waitfor /dev/io-net/fxp0, use if_up -p fxp0.

Examples:

Start io-pkt using the devnp-speedo.so driver:

io-pkt -d speedo -p tcpip
ifconfig fxp0 10.1.0.184

For the second instance of the device in the system, start io-pkt using the devnp-speedo.so driver, but use increased verbosity and override the default MAC address:

io-pkt -d speedo verbose,idx1:mac=00:03:02:01:00:00 -p tcpip
ifconfig fxp0 10.1.0.184

See also:

devn-*, devnp-*, ifconfig, io-pkt, nicinfo