From 1e547673a24562964a349079a96f4997edd5e1e1 Mon Sep 17 00:00:00 2001 From: Lauri Tirkkonen Date: Sun, 6 Jan 2019 23:43:53 +0200 Subject: [PATCH] man: remove leftover ndd(8) refs ndd was removed long ago, but some references still remained. --- share/man/man5/ieee802.3.5 | 4 +--- share/man/man7d/rge.7d | 40 +++------------------------------------- share/man/man8/ipadm.8 | 1 - 3 files changed, 4 insertions(+), 41 deletions(-) diff --git a/share/man/man5/ieee802.3.5 b/share/man/man5/ieee802.3.5 index bfc586bcf6..f591b7f482 100644 --- a/share/man/man5/ieee802.3.5 +++ b/share/man/man5/ieee802.3.5 @@ -497,10 +497,8 @@ subcommand. Such vanity names are only accessible using DLPI style 1. .Sh NOTES There may be other mechanisms available to configure link layer properties. Historically the -.Xr ndd 8 -command, and .Xr driver.conf 4 -files could be used to do this. These methods are deprecated in favor of +files could be used to do this. It is deprecated in favor of .Xr dladm 8 properties. . diff --git a/share/man/man7d/rge.7d b/share/man/man7d/rge.7d index e2d641b062..7e434f83a5 100644 --- a/share/man/man7d/rge.7d +++ b/share/man/man7d/rge.7d @@ -118,51 +118,17 @@ speed and mode. Link speed and mode can be any one of the following: .sp .LP Alternatively, you can set the capabilities advertised by the \fBrge\fR device -using \fBndd\fR(8). The driver supports a number of parameters whose names -begin with \fBadv_\fR. Each of these parameters contains a boolean value that +using \fBdladm\fR(8). The driver supports link properties whose names +begin with \fBadv_\fR. Each of these properties contains a boolean value that determines if the device advertises that mode of operation. The \fIadv_pause_cap\fR indicates if half/full duplex pause is advertised to link partner. You can set \fIadv_asym_pause_cap\fR to advertise to the link partner that asymmetric pause is desired. .sp .LP -For example, to prevent the device 'rge2' from advertising gigabit -capabilities, enter (as super-user): -.sp -.in +2 -.nf -# ndd -set /dev/rge2 adv_1000fdx_cap 0 -.fi -.in -2 - -.sp -.LP All capabilities default to enabled. Note that changing any capability -parameter causes the link to go down while the link partners renegotiate the +property causes the link to go down while the link partners renegotiate the link speed/duplex using the newly changed capabilities. -.sp -.LP -You can find the current parameter settings by using \fBndd\fR \fB-get\fR. In -addition, the driver exports the current state, speed, duplex setting, and -working mode of the link via \fBndd\fR parameters (these are read only and may -not be changed). For example, to check link state of device \fBrge0\fR: -.sp -.in +2 -.nf -# ndd -get /dev/rge0 link_status -1 -# ndd -get /dev/rge0 link_speed -100 -# ndd -get /dev/rge0 link_duplex -2 -.fi -.in -2 - -.sp -.LP -The output above indicates that the link is up and running at 100Mbps -full-duplex. In addition, the driver exports its working mode by -\fIloop_mode\fR. If it is set to 0, the loopback mode is disabled. .SH FILES .sp .ne 2 diff --git a/share/man/man8/ipadm.8 b/share/man/man8/ipadm.8 index 1ed1224391..f90e98f0ac 100644 --- a/share/man/man8/ipadm.8 +++ b/share/man/man8/ipadm.8 @@ -881,7 +881,6 @@ subcommand for the list of property names. .Xr dladm 8 , .Xr if_mpadm 8 , .Xr ifconfig 8 , -.Xr ndd 8 , .Xr zonecfg 8 , .Xr nodename 4 , .Xr nsswitch.conf 4 , -- 2.11.4.GIT