40
Sun Dual Gigabit Ethernet and Dual SCSI/P Adapter Installation and User’s Guide • January 2004
1. Check the
/etc/path_to_inst
file to identify the instance associated with a
particular device.
In the example above, the two Gigabit Ethernet instances are from the installed
adapter. The instance numbers are in bold italics for clarity.
2. Use the instance number to select the device.
The device remains selected until you change the selection.
Noninteractive and Interactive Modes
You can use the
ndd
utility in two modes:
■
Noninteractive
■
Interactive
In noninteractive mode, you invoke the utility to execute a specific command. Once
the command is executed, you exit the utility. In interactive mode, you can use the
utility to get or set more than one parameter value. (Refer to the
ndd
(1M) man page
for more information.)
▼
To Use the
ndd
Utility in Noninteractive Mode
This section describes how to modify and display parameter values.
●
To modify a parameter value, use the
-set
option.
If you invoke the
ndd
utility with the
-set
option, the utility passes value, which
must be specified, down to the named
/dev/ce
driver instance, and assigns it to the
parameter:
When you change any adv parameter, a message similar to the following appears:
# grep ce /etc/path_to_inst
"/pci@1e,600000/pci@4/network@0" 0 "ce"
"/pci@1e,600000/pci@4/network@1" 1 "ce"
# ndd -set /dev/ce instance
instance
# ndd -set /dev/ce
parameter value
ce0: xcvr addr:0x01 - link up 1000 Mbps full duplex