Setting parameters using the ce.conf file – Sun Microsystems 806-2989-10 Manuel d'utilisation

Page 57

Advertising
background image

Chapter 4

Configuring Driver Parameters

37

To Disable Autonegotiation Mode

If your network equipment does not support autonegotiation, or if you want to
specify your network speed, you can set autonegotiation to

off

on the

ce

device.

1. Set the following driver parameters to the values that are described in the

documentation that shipped with your link partner (for example, a switch):

adv_1000fdx_cap

adv_1000hdx_cap

adv_100fdx_cap

adv_100hdx_cap

adv_10fdx_cap

adv_10hdx_cap

adv_asmpause_cap

adv_pause_cap

See

TABLE 4-2

for the descriptions and possible values of these parameters.

2. Set the

adv_autoneg_cap

parameter to

0

.

When you change any

ndd

link parameter, a message similar to the following

appears:

Setting Parameters Using the

ce.conf

File

You can also specify the driver parameter properties on a per-device basis by
creating a

ce.conf

file in the

/kernel/drv

directory. Use a

ce.conf

file when

you need to set a particular parameter for a device in the system. The parameters
you set are read and write parameters that are listed in “Driver Parameter Values
and Definitions” on page 26.

The man pages for

prtconf

(1M) and

driver.conf

(4) include additional details.

The next procedure shows an example of setting parameters in a

ce.conf

file.

# ndd -set /dev/ce adv_autoneg_cap 0

xcvr addr:0x00 - link up 1000 Mbps half duplex

Advertising