summaryrefslogtreecommitdiff
path: root/ethtool.8
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2010-11-16 19:14:33 +0000
committerBen Hutchings <bhutchings@solarflare.com>2010-11-16 19:16:01 +0000
commitfef1c4a19703ddf939dd7ef18e3994134dc2aea0 (patch)
treebd466bb33d38e1ac2d1c1e7fef577d3e9fb14a3a /ethtool.8
parent02ea0ac03e3a79401c00349a7a69c3643913f52b (diff)
downloadethtool-fef1c4a19703ddf939dd7ef18e3994134dc2aea0.tar.gz
ethtool: add get permanent address option
Add command level support for showing permanent address. The ioctl has been around for a long time but there was no option to display it. Note: MAX_ADDR_LEN is defined in netdevice.h but including netdevice.h leads to multiple definition errors with if.h. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> [bwh: Fix use of '|' in place of '||', as noted by Joe Perches] Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'ethtool.8')
-rw-r--r--ethtool.86
1 files changed, 6 insertions, 0 deletions
diff --git a/ethtool.8 b/ethtool.8
index 2c54cb4..7d80a5f 100644
--- a/ethtool.8
+++ b/ethtool.8
@@ -176,6 +176,9 @@ ethtool \- Display or change ethernet card settings
.I ethX
.RI [ N ]
+.B ethtool \-P|\-\-show-permaddr
+.I ethX
+
.B ethtool \-r|\-\-negotiate
.I ethX
@@ -403,6 +406,9 @@ blinking one or more LEDs on the specific ethernet port.
.B N
Length of time to perform phys-id, in seconds.
.TP
+.B \-P \-\-show-permaddr
+Queries the specified ethernet device for permanent hardware address.
+.TP
.B \-r \-\-negotiate
Restarts auto-negotiation on the specified ethernet device, if
auto-negotiation is enabled.