PCNET_CS

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS
DIAGNOSTICS
AUTHOR
SEE ALSO

NAME

pcnet_cs − generic NS8390-based PCMCIA Ethernet Driver

SYNOPSIS

insmod pcnet_cs.o [pc_debug=n] [irq_list=i,j,...] [if_port=n] [use_big_buf=n] [use_shmem=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. The driver first tests for a shared memory buffer, falling back on polled IO if the memory test fails. 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_list=i,j,...

Specifies the set of interrupts that may be allocated by this driver.

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_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).

use_shmem=n

Selects shared memory versus polled IO mode for packet transfers. The default is -1, meaning to use the card’s CIS information to decide.

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’).

DIAGNOSTICS

eth#: interrupt(s) dropped!

Indicates that the driver did not receive an interrupt notification for some reason. The driver will poll the card (with a significant performance penalty) if the problem persists. The most likely cause is an interrupt conflict and/or host bridge configuration problem.

AUTHOR

David Hinds − dahinds@users.sourceforge.net

SEE ALSO

cardmgr(8), pcmcia(5).