freebsd-src/sbin/camcontrol
Warner Losh 8f5c107656 camcontrol fwdownload minor improvements
Minor improvements to the fwdownload code suggested by chs@:
o Print the path_id/target we're rescanning so it's not invisible
o No need for XPT_GDEVLIST, all the info is filled in. Remove sending it
  as well as a comment related to it from a mistaken observation. libcam
  always fills these in properly, so use those for the ccb path/target.
o Don't leak /dev/xpt fd in success cases.
o Rename fw_rescan_lun to fw_rescan_target and pass sim_mode to
  only print path_id and target_id info.

Reviewed by:		chs@
Fixes:			9835900cb9
Sponsored by:		Netflix
MFC After:		1 week
Differential Revision:	https://reviews.freebsd.org/D34348

(cherry picked from commit 78fbaa1fac)
2022-03-09 13:52:23 -07:00
..
attrib.c Unify cam_send_ccb() error reporting. 2019-09-07 16:52:40 +00:00
camcontrol.8 Cross-reference camcontrol(8) and zonectl(8) man pages. 2022-02-14 00:04:44 +00:00
camcontrol.c add and use defintions for ATA power modes 2022-01-25 09:43:11 +02:00
camcontrol.h Make camcontrol modepage support block descriptors. 2019-08-07 14:45:10 +00:00
epc.c add and use defintions for ATA power modes 2022-01-25 09:43:11 +02:00
fwdownload.c camcontrol fwdownload minor improvements 2022-03-09 13:52:23 -07:00
Makefile Retire support for -DMINIMALISTIC 2019-07-12 05:35:45 +00:00
Makefile.depend
modeedit.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
persist.c Unify cam_send_ccb() error reporting. 2019-09-07 16:52:40 +00:00
progress.c
progress.h
timestamp.c Use present now scsi_mode_sense_subpage(). 2019-07-29 20:41:11 +00:00
util.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
zone.c Use the more proper term of SATL instead of ATA_BEHIND_SCSI. 2019-07-15 20:25:41 +00:00