devnp-asix.so

Driver for the ASIX AX88172, AX88172A, AX88178, AX88772, AX88772A, AX88772B USB Ethernet dongle

Syntax:

io-pkt-variant -d asix [option[,option ...]] ... &

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

Runs on:

QNX Neutrino

Options:

Note: Use commas, not spaces, to separate the options.
busnum=0xXX
The USB bus number.
devnum=0xXX
The USB device number.
did=0xXXXX
The USB 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.
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.
path="name"
Connect to the specified USB stack. The default is /dev/io-usb/io-usb.
phy=num
The address of the connected PHY device.
priority=N
The priority of the driver's event thread. The default is 21.
promiscuous
Enable the driver to pass all data packets received, regardless of the address. By default, promiscuous mode is disabled.
receive=num
The number of Rx descriptors. The default is 5.
rx_flow
Enable receive flow control (default autonegotiated).
speed=10|100|1000
The media data rate in megabits/second.
transmit=num
The number of Tx descriptors. The default is 10.
tx_flow
Enable transmit flow control (default autonegotiated).
uptype=name
The interface name. The default is ax.
verbose or 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 USB vendor ID.
wait=num
The number of seconds to wait for the USB stack. The default is 60 seconds.

Description:

The devnp-asix.so driver controls the ASIX AX88172, AX88172A, AX88178, AX88772, AX88772A, and AX88772B USB Ethernet dongle. This is a native io-pkt driver; its interface names are in the form axX, where X is an integer.

Some devices support hardware checksums, although some might do so in only one direction; to determine if your device does, type:

ifconfig axX

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

Examples:

Start io-pkt-v6-hc using the ASIX driver:

io-pkt-v6-hc -dasix verbose &
ifconfig ax0 10.1.0.184