summaryrefslogtreecommitdiff
path: root/ethtool.8
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-01-09 13:16:14 +0000
committerJeff Garzik <jgarzik@redhat.com>2009-03-06 07:27:13 -0500
commit580cc500e397299c01caa615d4159ddbad47fffb (patch)
treead84d7ed5a52ce2eccbb7d8e45dc51a880c5820e /ethtool.8
parenta97a2ece26d1e88171d7b2f0824686fcd4a15a0c (diff)
downloadethtool-580cc500e397299c01caa615d4159ddbad47fffb.tar.gz
ethtool: Support arbitrary speeds
The speed and speed_hi fields of struct ethtool_cmd together represent a value in units of Mbit/s. The valid speed settings are hardware- dependent and should be checked by the driver. Remove our validation and allow arbitrary positive values. Continue to report 0 and -1 as "Unknown!" since some drivers will report these invalid values when the link is down. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'ethtool.8')
-rw-r--r--ethtool.84
1 files changed, 2 insertions, 2 deletions
diff --git a/ethtool.8 b/ethtool.8
index 530f3b4..ece0ed5 100644
--- a/ethtool.8
+++ b/ethtool.8
@@ -185,7 +185,7 @@ ethtool \- Display or change ethernet card settings
.B ethtool \-s
.I ethX
-.B4 speed 10 100 1000 2500 10000
+.BI speed \ N
.B2 duplex half full
.B4 port tp aui bnc mii fibre
.B2 autoneg on off
@@ -345,7 +345,7 @@ All following options only apply if
.B \-s
was specified.
.TP
-.A4 speed 10 100 1000 2500 10000
+.BI speed \ N
Set speed in Mb/s.
.B ethtool
with just the device name as an argument will show you the supported device speeds.