devn-smc9000.so

Driver for SMC91c9x and SMC91c1xx (SMC9000) Ethernet controllers

Syntax:

io-pkt-variant -d smc9000 [,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.

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 it.
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.

If you specify the variant option, the width option may be ignored.


Description:

The devn-smc9000.so driver controls SMC 91c9x/91c1xx compatible Ethernet adapters. This is a legacy io-net driver; its interface names are in the form enX, where X is an integer.


Caution: This driver can't always detect the correct irq and iorange options, especially for ISA devices. To be sure, always specify irq and iorange when using this 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.

Examples:

Start io-pkt-v4-hc using the SMC9000 driver:

io-pkt-v4-hc -dsmc9000 iorange=0x200,irq=5
ifconfig en0 10.1.0.184

Files:

/dev/io-net
The directory where, by default, drivers and protocol modules add entries. For more information, see the documentation for io-pkt*.

Caveats:

You must specify the mac option when using this driver.

See also:

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