diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-10-23 10:57:03 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-02-09 16:28:37 -0500 |
commit | fd3dc7be2449dc1b7950fcf22dbc2cf5a6504fa2 (patch) | |
tree | d84b8850f9241309c87ce917c2829c95545c48e0 /ethtool.8 | |
parent | b9caefa09afc12072e8beee0596be19384e7a21f (diff) | |
download | ethtool-fd3dc7be2449dc1b7950fcf22dbc2cf5a6504fa2.tar.gz |
ethtool: flie option to register dump
Add ability to take old raw dumps from a file and decode them.
It is kind of limited because you still need to have same device
as the raw file, but useful for maintainers to decode raw dumps.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'ethtool.8')
-rw-r--r-- | ethtool.8 | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -126,6 +126,8 @@ ethtool \- Display or change ethernet card settings .B ethtool \-d|\-\-register\-dump .I ethX .B2 raw on off +.RB [ file +.IR name ] .B ethtool \-e|\-\-eeprom\-dump .I ethX @@ -244,7 +246,16 @@ queries the specified ethernet device for associated driver information. .TP .B \-d \-\-register\-dump retrieves and prints a register dump for the specified ethernet device. -When raw is enabled, then it dumps the raw register data to stdout. +The register format for some devices is known and decoded others +are printed in hex. +When +.I raw +is enabled, then it dumps the raw register data to stdout. +If +.I file +is specified, then use contents of previous raw register dump, rather +than reading from the device. + .TP .B \-e \-\-eeprom\-dump retrieves and prints an EEPROM dump for the specified ethernet device. |