[Previous] [Contents] [Index] [Next]

devn-smc9000.so

Driver for SMC91c9x and SMC91c1xx (SMC9000) Ethernet controllers

Syntax:

io-net -d smc9000 [,option[,option ...]] ...

Options:


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

connector=0|1|2
Network cable connector type:
0
BNC
1
UTP
2
AUI

The default is UTP.

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 I/O base address. The 0xXXXXXXXX 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.
lan=num
LAN number. The default is 0.
mac=XXXXXXXXXXXX
MAC address of the controller. You must set the MAC address for this controller.
media=num
Media type (from <hw/nicinfo.h>). The default is NIC_MEDIA_802_3.
mru=num
Maximum receive unit. The default is 1514.
mtu=num
Maximum transmission unit. The default (1514) is automatically detected on supported hardware.
nomulticast
Disable multicast support.
phy=num
Address of the connected PHY device.
pktque=num
Set the maximum number of packets that will be queued for transmission in system RAM. The default is 100.
pmmparent=<string >
Override the parent component of the path to register for Power Management.
priority=N
Priority of the driver event-thread. The default is 21.
promiscuous
Enable promiscuous mode. The default is off.
speed=10|100
Force 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).
txcap=num
Set the maximum number of packets that will be queued for transmission in on-chip SRAM. On the 91c111 the default is 1, since the amount of on-chip memory is limited to 4 packets. Limiting the number of transmit packets prevents packet transmission from using up all the SRAM, and makes more SRAM available for receive. This prevents packet overruns on receive. For other chips with more on-chip SRAM, the limit is 32 packets.
uptype=name
Interface name. The default is "en".
variant=name
Set up the driver for a specific board variant. Currently supported variants are generic, assabet, dbpxa250dp,, graphicsmaster, innovator, and pxa250tmdp.
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 default is 0. The output goes to slogger, invoke sloginfo to view.
width=8|16|32
I/O access width (8, 16, or 32 bits). The default is 16.
Caution: An incorrect width size can lock up the card or the platform CPU.


Note: If the "variant" option is specified, the width option may be ignored.

Description:

The devn-smc9000.so driver controls SMC 91c9x/91c1xx compatible Ethernet adapters.


Caution: This driver cannot always detect the correct irq and iorange options, especially for ISA devices. To be sure, always specify irq and iorange when using this driver.

Examples:

Start io-net using the SMC9000 driver and the full TCP/IP stack:

io-net -dsmc9000 iorange=0x200,irq=5 -p tcpip
ifconfig en0 10.184

Caveats:

You must specify the mac option when using this driver.

See also:

io-net

"Network drivers (devn-*)" and "Network protocol interfaces (npm-*)" in the Utilities Summary


[Previous] [Contents] [Index] [Next]