summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsi_tape.h
diff options
context:
space:
mode:
authorse <se@FreeBSD.org>1994-09-28 20:16:45 +0000
committerse <se@FreeBSD.org>1994-09-28 20:16:45 +0000
commitbadfdbfc1a2a5d6d7c1d58a53962f130efccc0c0 (patch)
tree41b29e7b116b21a3f34c2d8f5a5b3e06ebe20f1d /sys/scsi/scsi_tape.h
parent59934affabaf5aeca78f89144f8a0453edb28cd7 (diff)
downloadFreeBSD-src-badfdbfc1a2a5d6d7c1d58a53962f130efccc0c0.zip
FreeBSD-src-badfdbfc1a2a5d6d7c1d58a53962f130efccc0c0.tar.gz
Reviewed by: Julian Elischer / Jordan K. Hubbard
Changes are only effective, if NEW_SCSICONF is defined: 1) Added u_int16 quirks to struct scsi_link for device quirks. 2) Added void *devmodes to struct scsi_link for tape density modes. 3) Modified selectdev() to return first full match (with wildcard). With this patch all device dependent configuration is done in one place (scsiconf.c), while there were some specifications in st.c and some hardware dependent drivers (ie. ncr.c) before.
Diffstat (limited to 'sys/scsi/scsi_tape.h')
-rw-r--r--sys/scsi/scsi_tape.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/scsi/scsi_tape.h b/sys/scsi/scsi_tape.h
index ac417c2..920a781 100644
--- a/sys/scsi/scsi_tape.h
+++ b/sys/scsi/scsi_tape.h
@@ -21,7 +21,7 @@
/*
* Ported to run under 386BSD by Julian Elischer (julian@tfs.com) Sept 1992
*
- * $Id: scsi_tape.h,v 1.8 93/08/31 21:40:16 julian Exp Locker: julian $
+ * $Id: scsi_tape.h,v 1.8 1993/11/18 05:02:57 rgrimes Exp $
*/
#ifndef SCSI_SCSI_TAPE_H
#define SCSI_SCSI_TAPE_H 1
@@ -140,6 +140,7 @@ struct blk_desc_cipher
+#ifndef NEW_SCSICONF
/**********************************************************************
from the scsi2 spec
Value Tracks Density(bpi) Code Type Reference Note
@@ -200,5 +201,6 @@ struct blk_desc_cipher
#define QIC_1320 0x12
#define DDS 0x13
#define DAT_1 0x13
+#endif /* NEW_SCSICONF */
#endif /*SCSI_SCSI_TAPE_H*/
OpenPOWER on IntegriCloud