diff options
author | Ajit Khaparde <ajitk@serverengines.com> | 2009-09-03 08:33:08 +0530 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2009-11-25 09:42:47 -0500 |
commit | 9efed0a996f30e1f2d2d33611b209fee6faabc2c (patch) | |
tree | 6c733c529a510aff40c5648de56c489e7e49857d /e100.c | |
parent | 0bae92474a3d96070c1235928d0ce821c051583c (diff) | |
download | ethtool-9efed0a996f30e1f2d2d33611b209fee6faabc2c.tar.gz |
ethtool: Add option to flash firmware image from specified file, to a device.
This patch adds a new "-f" option to the ethtool utility to flash a
firmware image specified by a file, to a network device. The filename
is passed to the network driver which will flash the image on the
chip using the request_firmware path.
The region "on the chip" to be flashed can be specified by an option.
It is up to the device driver to enumerate the region number passed
by ethtool, to the region to be flashed.
The default behavior is to flash all the regions on the chip.
Usage:
ethtool -f <interface name> <filename of firmware image>
ethtool -f <interface name> <filename of firmware image> [ REGION-NUMBER-TO-FLASH ]
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'e100.c')
0 files changed, 0 insertions, 0 deletions