Setting – Sun Microsystems Sun Quad User Manual
Page 51
Appendix B
Configuring the Quad FastEthernet Device Driver Parameters
37
Setting
ipg
Driver Parameters Using a
qfe.conf
File
1. Obtain the hardware path names for the
qfe
devices in the device tree.
Typically the path names and the associated instance numbers will be present in the
/etc/path_to_inst
file.
■
In the above lines:
■
The first part within the double quotes specifies the hardware node name in the
device tree.
■
The second number is the instance number.
■
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
qfe.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 =
SUNW,qfe
■
Parent =
/pci@1f,2000/pci@2
■
Unit-address =
0,1
In the second line in the previous example:
■
Name =
SUNW,qfe
■
Parent =
/pci@1f,2000/pci@2
■
Unit-address =
1,1
# grep qfe /etc/path_to_inst
"/pci@1f,2000/pci@2/SUNW,qfe@0,1" 4 "qfe"
"/pci@1f,2000/pci@2/SUNW,qfe@1,1" 5 "qfe"
"/pci@1f,2000/pci@2/SUNW,qfe@2,1" 6 "qfe"
"/pci@1f,2000/pci@2/SUNW,qfe@3,1" 7 "qfe"