strace/xlat/sg_scsi_reset.in
Dmitry V. Levin 4912e5b208 scsi: implement decoding of all SG_* ioctl commands
* print_sg_req_info.c: New file.
* Makefile.am (strace_SOURCES): Add it.
* xlat/sg_scsi_reset.in: New file.
* scsi.c: Include "xlat/sg_scsi_reset.h".
(scsi_ioctl): Implement decoding of all SG_* ioctl commands.
2017-01-10 00:05:17 +00:00

7 lines
143 B
Plaintext

SG_SCSI_RESET_NOTHING 0
SG_SCSI_RESET_DEVICE 1
SG_SCSI_RESET_BUS 2
SG_SCSI_RESET_HOST 3
SG_SCSI_RESET_TARGET 4
SG_SCSI_RESET_NO_ESCALATE 0x100