PCNET_CS(4)

NAME
pcnet_cs - Generic NS8390-based PCMCIA Ethernet Driver

SYNOPSIS
insmod pcnet_cs.o [pc_debug=n] [irq_mask=n] [if_port=n] [use_shmem=n] [use_big_buf=n] [mem_speed=n] [delay_output=n] [delay_time=n] [hw_addr=n,n,n,n,n,n]

DESCRIPTION
Pcnet_cs is a driver for all NS8390-based PCMCIA ethernet cards. It can use either polled IO or a shared memory window to exchange data with the card. It replaces the de650_cs and ibmcc_cs drivers in previous releases. When this driver is bound to a card, it allocates the next available ethernet device (eth0..eth#). This device name will be reported in the kernel log file, and passed on to cardmgr(8).

PARAMETERS

pc_debug=n
    Selects the PCMCIA debugging level. This parameter is only available if the module is compiled with debugging enabled. A non-zero value enables debugging.

irq_mask=n
    Specifies the set of interrupts that may be allocated by this driver. Each bit of the mask word corresponds to one irq number: 0x0001 is irq 0, 0x0002 is irq 1, etc.

if_port=n
    Selects the transceiver type, for Socket EA and IBM CCAE cards. 1 is 10baseT (twisted pair), and 2 is 10base2 (BNC, or thin net). The default is 1 (10baseT).

use_shmem=n
    Selects whether to use shared memory (if 1) or polled IO (if 0) to access the card. If unset, then the default is to choose based on the card type (shared memory for IBM CCAE and friends, polled IO for all others).

use_big_buf=n
    For Socket EA cards, a flag indicating if the driver should use the large (64K) packet buffer. The default is 1 (true).

mem_speed=n
    Sets the access speed of the shared memory window, in nanoseconds. The default is 0 (i.e., no extra wait states). Values of up to 1000 are legal.

delay_output=n
    Specifies that a delay should be inserted after a polled IO block output. This is turned on by default for Accton and Socket EA cards.

delay_time=n
    Specifies the length of the delay_output delay, in microseconds. The default is 4.

hw_addr=n,n,n,n,n,n
    For cards whose hardware ethernet addresses can't be identified by the current driver, this is a hack for hardwiring a specific address. The argument should consist of exactly six byte-sized numbers, separated by commas, with no spaces. Numbers may be in decimal or hex ('0xNN').

AUTHOR
David Hinds - dhinds@allegro.stanford.edu

SEE ALSO
cardmgr(8), pcmcia(5).