Network Card User Manual
66 Sun Quad FastEthernet 6U CompactPCI Adapter Installation and User’s Guide • June 2000
▼ To Specify the Device Instance for the ndd Utility
1. Check the /etc/path_to_inst file to identify the instance number associated
with a particular SUNW,qfe device.
For example:
In the preceding example, the four SUNW,qfe@x,1 instances are from a Sun Quad
FastEthernet 6U CompactPCI adapter. For clarity, the instance numbers are shown in
boldface type.
2. Use the ndd command to select the SUNW,qfe device using the instance number.
The device instance will remain selected until you change the selection.
Using the ndd Utility in Noninteractive and Interactive
Modes
You can use the ndd utility in two modes:
■ Noninteractive
■ Interactive
In the noninteractive mode, you can invoke the utility to set or display a single
device driver parameter. Once you execute the ndd command, the utility will exit
back to the terminal prompt. In the interactive mode, you can display or set more
than one driver parameter value using the utility’s prompt. Refer to the ndd(1M)
man page for more information about using the ndd utility.
# grep qfe /etc/path_to_inst
"/pci@1f,0/pci@1/pci@1/pci@a/SUNW,qfe@1,1" 1 "qfe"
"/pci@1f,0/pci@1/pci@1/pci@a/SUNW,qfe@0,1" 0 "qfe"
"/pci@1f,0/pci@1/pci@1/pci@a/SUNW,qfe@3,1" 3 "qfe"
"/pci@1f,0/pci@1/pci@1/pci@a/SUNW,qfe@2,1" 2 "qfe"
# ndd -set /dev/qfe instance instance-number