freebsd-nq/sbin/camcontrol
Warner Losh 78fbaa1fac 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
2022-02-22 14:38:38 -07:00
..
attrib.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00
camcontrol.8 update external URL 2022-02-05 17:09:48 +00:00
camcontrol.c add and use defintions for ATA power modes 2022-01-11 15:41:38 +02:00
camcontrol.h camcontrol: depop command 2021-09-20 16:27:59 -06:00
depop.c camcontrol: depop command 2021-09-20 16:27:59 -06:00
epc.c add and use defintions for ATA power modes 2022-01-11 15:41:38 +02:00
fwdownload.c camcontrol fwdownload minor improvements 2022-02-22 14:38:38 -07:00
Makefile camcontrol: depop command 2021-09-20 16:27:59 -06:00
Makefile.depend
modeedit.c sbin/camcontrol: use calloc/strlcpy where appropriate. 2021-01-03 22:52:28 -08:00
persist.c camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +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 camcontrol(8): remove unnecessary CCB zeroing 2021-02-25 18:45:21 +00:00