diff options
author | mjacob <mjacob@FreeBSD.org> | 2000-07-14 19:42:47 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2000-07-14 19:42:47 +0000 |
commit | d075b43b6a852aa2bffc3d091109aedc6a83fa38 (patch) | |
tree | 2f30580431faa70f16c3cf22936d44632b8f9b29 | |
parent | 5da45542d2fe7225c67ea8d521d130091ef15278 (diff) | |
download | FreeBSD-src-d075b43b6a852aa2bffc3d091109aedc6a83fa38.zip FreeBSD-src-d075b43b6a852aa2bffc3d091109aedc6a83fa38.tar.gz |
Add a TARGIODEBUG ioctl to allow for CAM_DEBUG_PERIPH tracing on
an opened target instance.
-rw-r--r-- | sys/cam/scsi/scsi_targetio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_targetio.h b/sys/cam/scsi/scsi_targetio.h index f628d94..02cd32c 100644 --- a/sys/cam/scsi/scsi_targetio.h +++ b/sys/cam/scsi/scsi_targetio.h @@ -122,4 +122,9 @@ struct ioc_alloc_unit { */ #define TARGCTLIOALLOCUNIT _IOWR('C', 7, struct ioc_alloc_unit) #define TARGCTLIOFREEUNIT _IOW('C', 8, struct ioc_alloc_unit) + +/* + * Set/clear debugging for this target mode instance + */ +#define TARGIODEBUG _IOW('C', 9, int) #endif /* _CAM_SCSI_SCSI_TARGETIO_H_ */ |