Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

devnp-mpc85xx.so

Driver for Freescale MPC85XX TSEC Ethernet controllers


Note: This driver is shipped only with the BSPs that need it.

Syntax:

io-pkt-variant -d mpc85xx mac=ZZZZZZZZZZZZ
    [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. These options override the autodetected defaults.

duplex=0|1
Half (0) or full (1) duplex mode. The default is automatically detected on supported hardware. You can also use ifconfig -m and ifconfig tsecX media to set this.
etsec=0|1
Use the older TSEC (0) or newer eTSEC (1). The default is automatically detected on supported hardware.
fifo=num
Set the transmit FIFO threshold to num. The default is 64 on 85xx, and 480 on 83xx. Each entry is 4 bytes.
kermask=0|1
Specify the masking:
loopback
Place the MAC into loopback mode for testing purposes.
mac=XXXXXXXXXXXX
The interface address of the controller. You must specify this option if you aren't using the syspage option.
nomulticast
Disable multicast support. By default, multicast is enabled.
pauseignore
Disable link-layer flow control for Rx.
pausesuppress
Disable link-layer flow control for Tx.
phy_addr=X
The PHY address that en0 has.
phy_incr=X
The PHY address increment to add to get the address for the next interface.
probe_phy=0|1
Disable (0) or force (1) periodic PHY probing when idle.
promiscuous
Enable promiscuous packet receive mode for debugging. By default, promiscuous mode is disabled.
receive=num
The number of receive descriptors. The default is 512.
rx_delay=X
Set the Rx interrupt coalescing timer threshold. Valid values are 1 through 65,535; the default is zero (disabled). If you set rx_delay, you must also set rx_frame.
rx_frame=X
Set the Rx interrupt coalescing frame threshold. Valid values are 1 through 255; the default is zero (disabled). If you set rx_frame, you must also set rx_delay.
speed=10|100|1000
The media data rate in megabits/second. The default is automatically detected on supported hardware. You can also use ifconfig -m and ifconfig tsecX media to set this.
syspage
Read hardware parameters (IRQs, MAC, base register address, and PHY address) for all devices from system page. If you don't use this option, you must use the mac=X option.
transmit=num
The number of transmit descriptors. The default is 1024.
verbose
verbose=N
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.

Description:

The devnp-mpc85xx.so driver controls Freescale MPC85XX TSEC Ethernet controllers. This is a native io-pkt driver; its interface names are in the form tsecX, where X is an integer.

Some devices support hardware checksums, although some might do so in only one direction; to determine if your device does, type:

ifconfig tsecX

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 the v4 TCP/IP variant of io-pkt using the devnp-mpc85xx.so driver:

io-pkt-v4 -d mpc85xx mac=00123456789a
ifconfig tsec0 10.184

See also:

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