beautypg.com

Sun Microsystems 805-1797-10 User Manual

Page 53

background image

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.

# 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"

4

In the above lines:

4

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

4

The second number is the instance number.

4

The last part in double quotes is the driver name.

4

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

/

character and

before the

@

character is the device name.

4

The path name before the last component is the parent name.

4

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:

4

Name =

SUNW,qfe

4

Parent =

/pci@1f,2000/pci@2

4

Unit-address =

0,1

In the second line in the previous example:

4

Name =

SUNW,qfe

4

Parent =

/pci@1f,2000/pci@2

4

Unit-address =

1,1

In the third line in the previous example:

4

Name =

SUNW,qfe

4

Parent =

/pci@1f,2000/pci@2

4

Unit-address =

2,1

In the fourth line in the previous example:

Configuring the Quad FastEthernet Device Driver Parameters

39