diff options
Diffstat (limited to 'sys/cam/scsi/scsi_sg.h')
-rw-r--r-- | sys/cam/scsi/scsi_sg.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/cam/scsi/scsi_sg.h b/sys/cam/scsi/scsi_sg.h index a9f7d03..60dbbfe 100644 --- a/sys/cam/scsi/scsi_sg.h +++ b/sys/cam/scsi/scsi_sg.h @@ -136,4 +136,9 @@ struct scsi_idlun { #define DRIVER_MASK 0x0f #define SUGGEST_MASK 0xf0 +/* Other definitions */ +/* HZ isn't always available, so simulate it */ +#define SG_DEFAULT_HZ 1000 +#define SG_DEFAULT_TIMEOUT (60*SG_DEFAULT_HZ) + #endif /* !_SCSI_SG_H */ |