diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-01-09 13:16:14 +0000 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-03-06 07:27:13 -0500 |
commit | 580cc500e397299c01caa615d4159ddbad47fffb (patch) | |
tree | ad84d7ed5a52ce2eccbb7d8e45dc51a880c5820e /ethtool.8 | |
parent | a97a2ece26d1e88171d7b2f0824686fcd4a15a0c (diff) | |
download | ethtool-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.8 | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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. |