diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2010-11-16 19:14:33 +0000 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2010-11-16 19:16:01 +0000 |
commit | fef1c4a19703ddf939dd7ef18e3994134dc2aea0 (patch) | |
tree | bd466bb33d38e1ac2d1c1e7fef577d3e9fb14a3a /ethtool.8 | |
parent | 02ea0ac03e3a79401c00349a7a69c3643913f52b (diff) | |
download | ethtool-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.8 | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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. |