diff options
author | Mandeep Singh Baines <msb@google.com> | 2008-06-18 10:38:02 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-11-25 12:00:38 -0500 |
commit | 2121eeadf380b5c5402a93ecef3e3600b01edc89 (patch) | |
tree | 791e2d1f5ef4514a4da4c1fd833f35f7cfa80ac4 /ethtool.8 | |
parent | 27ad86497f4e5cf2be6bc1ec27bd0faf4407067e (diff) | |
download | ethtool-2121eeadf380b5c5402a93ecef3e3600b01edc89.tar.gz |
ethtool: add support for block writing of EEPROMs
EEPROM write only supports byte writing. Add support for writing
an arbitrary number of bytes at an arbitrary offset.
Signed-off-by: Mandeep Singh Baines <msb@google.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'ethtool.8')
-rw-r--r-- | ethtool.8 | 12 |
1 files changed, 8 insertions, 4 deletions
@@ -152,6 +152,8 @@ ethtool \- Display or change ethernet card settings .IR N ] .RB [ offset .IR N ] +.RB [ length +.IR N ] .RB [ value .IR N ] @@ -289,10 +291,12 @@ length and offset parameters allow dumping certain portions of the EEPROM. Default is to dump the entire EEPROM. .TP .B \-E \-\-change\-eeprom -Changes EEPROM byte for the specified ethernet device. offset and value -specify which byte and it's new value. Because of the persistent nature -of writing to the EEPROM, a device-specific magic key must be specified -to prevent the accidental writing to the EEPROM. +If value is specified, changes EEPROM byte for the specified ethernet device. +offset and value specify which byte and it's new value. If value is not +specified, stdin is read and written to the EEPROM. The length and offset +parameters allow writing to certain portions of the EEPROM. +Because of the persistent nature of writing to the EEPROM, a device-specific +magic key must be specified to prevent the accidental writing to the EEPROM. .TP .B \-k \-\-show\-offload Queries the specified ethernet device for offload information. |