beautypg.com

Setting parameters using the ge.conffile, Understanding the ge.conf file, Setting parameters using the – Sun Microsystems THE SUN 805-7945-10 User Manual

Page 18: Ge.conf, Understanding the, Setting parameters using the ge.conf file

background image

14

Platform Notes: The Sun GigabitEthernet Device Driver • March 1999

2. Set

adv_1000autoneg_cap

to

0

.

Setting Parameters Using the

ge.conf

File

You can also specify the properties described in this section on a per-device basis by
creating a

ge.conf

file in the

/kernel/drv

directory. Use a

ge.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 5.

The man pages for

prtconf (1M)

and

driver.conf (4)

include additional

details.

Understanding the

ge.conf

File

Obtain the hardware path names for the

ge

devices in the device tree.

Typically the path names and the associated instance numbers will be present in the

/etc/path_to_inst

file.

where:

“/sbus@b,0/network@2,100000” specifies the hardware node name in the
device tree.

“0” is the instance number.

“ge” is the driver name.

In the device path name, the last component after the last

/

character and before

the

@

character (

network

) is the device name.

The path name before the last component (sbus@b,0) is the parent name.

For Sun GigabitEthernet/S:

To identify an SBus device unambiguously in the

ge.conf

file, use the name and

parent name of the device. Refer to the

sbus

(4) man page for more information

about the SBus device specification.

In the previous example:

Name =

SUNW,sbus-gem

Class =

“sbus”

# grep ge /etc/path_to_inst

“/sbus@b,0/network@2,100000” 0 “ge”