Driver for VIA Rhine Network Interface Cards
io-pkt-variant -d via-rhine [option[,option ...]] ...
where variant is one of v4, v4-hc, or
v6-hc.
Neutrino
|
Use commas, not spaces, to separate the options. |
- connector=0|1|2|3
- Network cable connector type.
- 0
- BNC
- 1
- UTP
- 2
- AUI
- 3
- FIBER
- deviceindex=0xXXXX
- Only attach to a device with this PCI index.
- did=0xXXXX
- Device ID. The default is
automatically detected on supported hardware.
- dma=num
- DMA channel.
- 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 auto-negotiated.
- iftype=num
- Interface type (from <net/if_types.h>). The default
is IFT_ETHER.
- iorange=0xXXXXXXXX
- The IO base address.
- irq=num
- IRQ of the interface.
- lan=num
- LAN number. The default is 0.
- mac=XXXXXXXXXXXX
- MAC address of controller. The default is
automatically detected on supported hardware.
- media=num
- Media type (from <hw/nicinfo.h>). The default
is NIC_MEDIA_802_3
- memrange=0xXXXXXXXX
- Register base physical memory address.
- mru=num
- Maximum receive unit. The default is 1514.
- mtu=X
- Maximum transmission unit. The default (1514) 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 supported hardware.
- phy=num
- Address of the connected PHY device.
- priority=N
- Priority of the driver event thread. The default is 21.
- promiscuous=0|1
- If set to 1, enable the driver to pass all data packets received,
regardless of address.
The default is 0.
- receive=X
- Number of receive descriptors/buffers. The default is 64.
- speed=10|100
- Media data rate (10Mbit or 100Mbit operation). The default is
automatically detected on supported hardware.
If you specify speed, specify duplex as well;
if speed alone is specified, the specified speed will be correctly set,
but duplex will default to half (0).
- transmit=num
- Number of transmit descriptors/buffers. The default is 128.
- uptype=name
- Interface name. The default is “en”.
- 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.
- vid=0xXXXX
- Vendor ID of the controller. The default is
automatically detected on supported hardware.
The devn-via-rhine.so driver controls VIA Rhine Network Interface
Cards (NICs).
This is a legacy io-net driver;
its interface names are in the form enX, where
X is an integer.
|
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.
Start io-pkt-v4-hc using the VIA Rhine NIC driver:
io-pkt-v4-hc -d via-rhine
ifconfig en0 10.1.0.184
- /dev/io-net
- The directory where, by default, drivers and protocol modules add
entries.
For more information, see the documentation for
io-pkt*.
devn-*,
devnp-*,
ifconfig,
io-pkt*,
nicinfo