diff options
author | scottl <scottl@FreeBSD.org> | 2012-06-20 00:17:29 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2012-06-20 00:17:29 +0000 |
commit | ac814015e8d730400c29cf3e6456062502e8c9f4 (patch) | |
tree | abc8784a2b00cd77586fc1276426cc021dfbed9b /sbin/camcontrol/camcontrol.h | |
parent | bf653adbec6b61b726b632f28642c6966c9e5e76 (diff) | |
download | FreeBSD-src-ac814015e8d730400c29cf3e6456062502e8c9f4.zip FreeBSD-src-ac814015e8d730400c29cf3e6456062502e8c9f4.tar.gz |
Update the 'fwdownload' command to also flash disks connected over an
ATA/SATA transport. The detection logic is automatic, so it should Just
Work. While here, also improve the progress meter that is displayed
during firmware download.
Submitted by: Alistair Crooks
Obtained from: Netflix, Inc.
MFC after: 3 days
Diffstat (limited to 'sbin/camcontrol/camcontrol.h')
-rw-r--r-- | sbin/camcontrol/camcontrol.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/camcontrol/camcontrol.h b/sbin/camcontrol/camcontrol.h index 189d74c..adc3243 100644 --- a/sbin/camcontrol/camcontrol.h +++ b/sbin/camcontrol/camcontrol.h @@ -41,7 +41,8 @@ struct get_hook }; int fwdownload(struct cam_device *device, int argc, char **argv, - char *combinedopt, int verbose, int retry_count, int timeout); + char *combinedopt, int verbose, int retry_count, int timeout, + const char */*type*/); void mode_sense(struct cam_device *device, int mode_page, int page_control, int dbd, int retry_count, int timeout, u_int8_t *data, int datalen); |