beautypg.com

To set driver parameters using an ipge.conf file, To set driver parameters using an – Sun Microsystems Ethernet MMF/UTP Adapter User Manual

Page 61

background image

Chapter 3

Configuring ipge and e1000 Driver Parameters

27

To Set Driver Parameters Using an ipge.conf
File

1. Obtain the hardware path names for the ipge devices in the device tree.

a. Check the /etc/driver_aliases file to identify the name associated with a

particular device:

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 for emphasis).

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.

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

The number after the final @ character within quotes is the unit-address.

To identify a PCI-E device unambiguously in the ipge.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-E device specification.

In this example:

parent

= "/pci@7c0/pci@0/pci@2/network@0"

# grep ipge /etc/driver_aliases

ipge "pciex8086,105e"

ipge "pciex8086,105f"

ipge "pci8086,105e"

ipge "pci8086,105f"

# grep ipge/etc/path_to_inst

"/pci@780/pci@0/pci@1/network@0" 0 "ipge"

"/pci@780/pci@0/pci@1/network@0,1" 1 "ipge"

"/pci@780/pci@0/pci@8/network@0" 2 "ipge"

"/pci@780/pci@0/pci@8/network@0,1" 3 "ipge"

"/pci@7c0/pci@0/pci@2/network@0" 4 "ipge"

"/pci@7c0/pci@0/pci@2/network@0,1" 5 "ipge"

"/pci@7c0/pci@0/pci@9/network@0" 6 "ipge"

"/pci@7c0/pci@0/pci@9/network@0,1" 7 "ipge"