diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-22 04:43:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-08-22 04:43:28 +0000 |
commit | 019f161f4d8dcef738321fbe602f155dda8c6897 (patch) | |
tree | e387d1a3b22e2a437029ac0c12650aa1fe67022d /sys/scsi/scsi_debug.h | |
parent | cfc70b6000a16bbe3322355941f522e2f68a64e9 (diff) |
Add more detailed SCSI error printing by Matthew Jacob. Enabled by
default. Use "option SCSIVERBOSE=0" to turn off (only added 8Kb to my kernel).
From the NetBSD commit message:
Add in more detailed SCSI error printing, based off of final SCSI-2 spec.
This will also print out things like progress indicator errors, and will
also dump out additional sense bytes that haven't been decoded.
Diffstat (limited to 'sys/scsi/scsi_debug.h')
-rw-r--r-- | sys/scsi/scsi_debug.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/scsi/scsi_debug.h b/sys/scsi/scsi_debug.h index b46012c8c8c..2caa0e6c577 100644 --- a/sys/scsi/scsi_debug.h +++ b/sys/scsi/scsi_debug.h @@ -1,4 +1,4 @@ -/* $OpenBSD: scsi_debug.h,v 1.5 1997/04/14 04:09:08 downsj Exp $ */ +/* $OpenBSD: scsi_debug.h,v 1.6 1997/08/22 04:43:26 millert Exp $ */ /* $NetBSD: scsi_debug.h,v 1.7 1996/10/12 23:23:16 christos Exp $ */ /* @@ -8,6 +8,13 @@ #define _SCSI_SCSI_DEBUG_H 1 /* + * Give verbose messages by default. + */ +#ifndef SCSIVERBOSE +#define SCSIVERBOSE 1 +#endif + +/* * These are the new debug bits. (Sat Oct 2 12:46:46 WST 1993) * the following DEBUG bits are defined to exist in the flags word of * the scsi_link structure. |