To set driver parameters using a ce.conf file, To set driver parameters using a – Sun Microsystems GigaSwift Ethernet Adapter User Manual

Page 73

Advertising
background image

Chapter 4

Configuring Driver Parameters

51

Note –

Configuring the parameters by putting

ndd

commands in

rcX.d

scripts is

not supported.

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.

To access any man page, type the

man

command plus the name of the man page.

For example, to access man pages for

prtconf(1M)

, type:

To Set Driver Parameters Using a

ce.conf

File

1. Obtain the hardware path names for the

ce

devices in the device tree.

a. Check the

/etc/driver_aliases

file to identify the name associated with a

particular device:

Note –

ce "pci100b, 35"

is used by the Sun GigaSwift Ethernet MMF/UTP

adapter.

b. Locate the path names and the associated instance numbers in the

/etc/path_to_inst

file.

In this example:

The first part within the double quotes specifies the hardware node name in
the device tree.

The number not enclosed in quotes is the instance number (shown in bold
italics).

The last part in double quotes is the driver name.

In the hardware node name, the last component after the last

/

character and

before the

@

character is the device name.

% man prtconf

# grep ce /etc/driver_aliases

ce "pci108e,abba"

ce "pci100b,35"

# grep ce /etc/path_to_inst

"/pci@8,600000/network@1" 0 "ce"

Advertising