Dmitry V. Levin
4912e5b208
* 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.
7 lines
143 B
Plaintext
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
|