Sun Microsystems 806-2989-10 Manuel d'utilisation
Page 58

38
Sun GigaSwift Ethernet Adapter Installation and User’s Guide • February 2001
▼
To Set Driver Parameters Using a
ce.conf
File
1. Obtain the hardware path names for the
ce
devices in the device tree.
Typically, the path names and the associated instance numbers are in the
/etc/path_to_inst
file.
■
In the previous example:
■
The first part within the double quotes specifies the hardware node name in
the device tree.
■
The second number is the instance number (shown in bold italics).
■
The last part in double quotes is the driver name.
■
In the device path name, the last component after the last
/
character and before
the
@
character is the device name.
■
The path name before the last component is the parent name.
■
The comma separated numbers after the
@
character at the end represent the
device and function numbers, which are together referred to as unit-address.
To identify a PCI device unambiguously in the
ce.conf
file, use the name, parent
name, and the unit-address for the device. Refer to the
pci
(4) man page for more
information about the PCI device specification.
In the first line of the previous example:
■
Name =
pci108e,abba
■
Parent name =
/pci@4,4000
■
Unit-address =
4
In the second line in the previous example:
■
Name =
pci108e,abba
■
Parent name =
/pci@6,2000
■
Unit-address =
4
In the third line in the previous example:
■
Name =
pci108e,abba
■
Parent name =
/pci@4,2000
■
Unit-address =
4
2. Set the parameters for the above devices in the /
kernel/drv/ce.conf
file.
# grep ce /etc/path_to_inst
"/pci108e;abba;/pci@4,4000/network@0"
2 "ce"
"/pci108e;abba;/pci@6,2000/network@0"
1 "ce"
"/pci108e;abba;/pci@4,2000/network@0"
0 "ce"