[Previous] [Contents] [Next]


Intel 82540 Gigabit Ethernet network driver (QNX)


Net.i82540 [-f tx_forget_time] [-F] [-i irq]
           [-I pci_index] [-l log_net_id] [-M]
           [-n tx_num_retries] [-p io_port] [-P]
           [-r media_rate] [-s data_rate]
           [-t tx_retry_ticks] [-v] &


-f tx_forget_time
The number of seconds until a received NAK is forgotten about for transmitting.
Force full-duplex operation of the card. The default is half-duplex unless the PHY auto-negotiates full-duplex.
-i irq
Program the card to use the specified hardware interrupt. This option overrides the default autodetect.
-I pci_index
Have the driver look at this specific PCI Index for an i82540-compatible card. You should have to specify -I only if you have more than one i82540 card installed (e.g. -I0, -I1, -I2).
-l log_net_id
("el") Connect to the specified logical network. The default is 1.
Program the NIC for multicast Rx mode. All packets with multicast destination addresses are buffered.
-n tx_num_retries
After failing to transmit to a remote node, retry transmission no more than this number of times. The default is 3.
-p io_port
Use the specified I/O port base, specified as a hexadecimal number without a leading 0x. This option overrides the default auto-detect, which uses the PCI BIOS to return a port address.
Program the NIC for promiscuous Rx mode. All packets are buffered, regardless of their destination addresses. The default is nonpromiscuous mode.
-r media_rate
Advertise the specified bit-transmission rate. The default is 100000000. The Network Manager uses this information when multiple network drivers are running.
-s speed
Set the speed at which the card should run. You can do this only with 100Mbit cards (e.g. -s10 or -s100). This disables the auto-negotiation capability of the Ethernet card.
-t tx_retry_ticks
The number of 50ms ticks between Tx retries. The default is 20.
Be verbose; display hardware configuration information on the screen when starting up.


The Net.i82540 network driver has been tested with Intel's i82540 PCI ethernet adapter. The driver supports PHY auto-negotiation with auto-negotiating partners. You can disable auto-negotiation by using the -s (speed) command-line option. You can also use the -F option to force full-duplex operation.

Note: Gigabit isn't supported -- only 10 and 100 M/s.

Net.i82540 provides the Network Manager with reliable data transfer over an Ethernet network.

Most of the time, you shouldn't need to specify the I/O port or the hardware interrupt to Net.i82540; it should autodetect these parameters from the PCI BIOS.

If you install more than one network card, you must specify a unique network ID (using the -l option) to every network driver. If more than one i82540 PCI card is installed, you need to use the -I option (-I0 for the first card, -I1 for the second, and so on).


Start the Net.i82540 driver with default parameters:

Net.i82540 & 

Start the Net.i82540 driver and force the speed to 100M/s:

Net.i82540 -s100 & 

Start two copies of the driver running on separate cards, one on logical network 1, the other on logical network 2:

Net.i82540 -I0 -l1 &
Net.i82540 -I1 -l2 &

Exit status:

An error occurred.

See also:

Net, Net.ether1000, Net.ether503, Net.ether8003, netinfo, netmap

Installation & Configuration

[Previous] [Contents] [Next]