Chapter 5 Configuring thenxge Device Driver Parameters 39
▼To Set Driver Parameters Using an nxge.conf
File1. Obtain the hardware path names for the nxge 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 hardwarenode 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.
Toidentify a PCI-E device unambiguously in the nxge.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:
■name = "pciex108e,abcd"
■parent = "/pci@780/pci@0/pci@8/network@0"
■unit-address ="0"
2. Set the parameters for the nxge devices in the
/platform/sun4u/kernel/drv/nxge.conf file.
a. The following parameters can be set using the
/platform/sun4u/kernel/drv/nxge.conf file.
#grep nxge /etc/driver_aliases
nxge "pciex108e,abcd"
#grep nxge/etc/path_to_inst
"/pci@780/pci@0/pci@8/network@0" 0 "nxge"
"/pci@780/pci@0/pci@8/network@0,1" 1 "nxge"
#
#---------------Link Configuration ----------------------
# The link parameters depend on the type of the card
# and the port.
# 10 gigabit related parameters ( i.e adv_10gfdx_cap)