devnp-rtl8169.so

Driver for Realtek 8169 Gigabit Ethernet controllers

Syntax:

io-pkt-variant -d rtl8169 [option[,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
The PCI device ID.
duplex=0|1
Half (0) or full (1) duplex mode. The default is automatically detected on supported hardware. If you specify duplex, specify speed as well; if duplex alone is specified, it is ignored and both speed and duplex are autonegotiated.
iftype=num
The interface type (from <net/if_types.h>). The default is IFT_ETHER.
iorange=0xXXXXXXXX
The I/O base address.
irq=num
The IRQ of the interface.
lan=num
The LAN number. The default is 0.
mac=XXXXXXXXXXXX
The interface address of the controller. The default is automatically detected on supported hardware.
media=num
The media type (from <hw/nicinfo.h>). The default is NIC_MEDIA_802_3.
mru=num
The maximum receive unit. The default is 1514.
mtu=num
The maximum transmission unit. The default (1514) is automatically detected on supported hardware.
nomulticast
Disable multicast support. By default, multicast is enabled.
pci=0xXXXX
The PCI index of the controller.
phy=num
The address of the connected PHY device.
priority=N
The priority of the driver's event thread. The default is 21.
receive=num
The number of Rx buffers to internally cache. The default is 5.
speed=10|100|1000
The media data rate in megabits/second.
transmit=num
The number of Tx buffers to internally cache. The default is 10.
uptype=name
The interface name. The default is en.
verbose
verbose=N
Be verbose. Specify num for more verbosity (num can be 1-4; the higher the number, the more detailed the output). The default is 0. The output goes to slogger; invoke sloginfo to view it.
vid=0xXXXX
The PCI vendor ID.

Description:

The devnp-rtl8169.so driver controls Realtek 8169 Gigabit Ethernet controllers. This is a native io-pkt driver; its interface names are in the form rtX, 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:

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/rt0, use if_up -p rt0.

Examples:

Start io-pkt-v4 using the Realtek driver:

io-pkt-v4 -d rtl8169
ifconfig rt0 10.184

See also:

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