Adapter configuration

The file trp.conf is the configuration file that enables you to change either the Ring Speed or the Maximum Frame size.

The location of the software configuration file, specified in step #8 of pkgadd is:

/platform/sun4u/kernel/drv/trp.conf


Ring Speed

The ring speed is the number of mega-bits per second (Mbps) at which the adapter transmits and receives data.

The Sun TRI/P Adapter ships with ring speed set to auto-detect. When the workstation enters the token ring it will automatically detect the speed at which the ring is running and set itself to that ring speed. If your workstation is the first workstation on the token ring the ring speed is set by the hub. However, if your workstation is the first workstation on the token ring and the token ring has no active hubs you must set the ring speed manually. Additional workstations joining the token ring will set their ring speed automatically.

Manual Ring Speed Configuration

You can set the Ring Speed manually using a parameter set in the trp.conf file. The parameter takes the values 0, 4, and 16.

0= auto-detect. This is the default value.

4= 4Mbps.

16= 16 Mbps.

trp#_ring_speed is a parameter that affects adapter instance #.

For example, the parameter trp0_ring_speed affects the adapter that ifconfig refers to as trp0.

To change the ring speed of each adapter change the value to either 0, 4, or 16.

For example:

trp0_ring_speed = 0;

trp1_ring_speed = 4;

trp2_ring_speed = 0;

trp3_ring_speed = 16;


Maximum Frame Size

max_frame_size is a parameter that affects all network adapters installed in the computer. The value specifies the maximum number of bytes the adapter can transmit or receive. The default value is 4096.

Range:256-17839

To change the default value to another value, for example 2k, replace,

max_frame_size = 4096,

with

max_frame_size = 2048.


____________________