Setting parameters using the ndd utility, Setting parameters using the ndd, Setting parameters using the ndd utility” on – Sun Microsystems Gigabit Ethernet MMF/UTP Adapter User Manual
Page 81
Chapter 4
Configuring e1000g Driver Parameters
47
3. Save the e1000g.conf file.
4. Reboot for the change to take effect:
Setting Parameters Using the ndd Utility
In addition to the e1000g.conf file, you can also use the ndd(1M) command to
configure the e1000g driver.
Using ndd(1M), you can set the link speed/duplex using the advertised capability
parameters supported by the e1000g device. Each parameter contains a boolean
value that determines if the device advertises that mode of operation. The
adv_autoneg_cap
parameter controls autonegotiation. When adv_autoneg_cap
is set to 1, autonegotiation is performed and the link speed/duplex is
autonegotiated to the mode determined by the first nonzero parameter in priority
order as listed below:
When adv_autoneg_cap is set to 0, the link speed/duplex is forced to the mode
specified by force_speed_duplex. The valid values of force_speed_duplex
and the corresponding modes are:
# reboot
# ndd -get /dev/e1000g0 ?
adv_1000fdx_cap 1000Mbps full duplex
adv_100fdx_cap 100Mpbs full duplex
adv_100hdx_cap 100Mpbs half duplex
adv_10fdx_cap 10Mpbs full duplex
adv_10hdx_cap 10Mpbs half duplex
TABLE 4-1
Value
Mode
1
10 Mpbs half-duplex
2
10Mpbs full-duplex
3
100Mpbs half-duplex
4
100Mpbs full-duplex