summaryrefslogtreecommitdiffstats
path: root/sys/scsi/scsiconf.c
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-03-06 15:36:45 +0000
committerjoerg <joerg@FreeBSD.org>1997-03-06 15:36:45 +0000
commit5daf619db7d05ff5b3e4b471d5e9c273ed0b7308 (patch)
treed2360bd505a7513abde2fce6317aeeced5325869 /sys/scsi/scsiconf.c
parentcf12351a8546bd190c653cb29759d3dc794107c6 (diff)
downloadFreeBSD-src-5daf619db7d05ff5b3e4b471d5e9c273ed0b7308.zip
FreeBSD-src-5daf619db7d05ff5b3e4b471d5e9c273ed0b7308.tar.gz
Merge Jason Thorpe's updated changer stuff into the actual system.
Many things have been changing in the kernel since mid-1996, so there's quite some amount of diffs here already. It compiles, but i cannot test it anywhere here. 2.2 candidate? Closes PR # 1201.
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r--sys/scsi/scsiconf.c26
1 files changed, 24 insertions, 2 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c
index d43c737..c0dc22a 100644
--- a/sys/scsi/scsiconf.c
+++ b/sys/scsi/scsiconf.c
@@ -16,7 +16,7 @@
*
* New configuration setup: dufault@hda.com
*
- * $Id$
+ * $Id: scsiconf.c,v 1.79 1997/02/22 09:44:34 peter Exp $
*/
#include "opt_scsi.h"
@@ -309,7 +309,23 @@ static struct scsidevs knowndevs[] =
T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "HP", "C1553A", "*",
"st", SC_MORE_LUS, 0
},
+ {
+ T_SEQUENTIAL, T_SEQUENTIAL, T_REMOV, "ARCHIVE", "Python 28849-*", "*",
+ "st", SC_MORE_LUS, 0
+ },
#endif /* NST */
+#if NCH > 0
+ /*
+ * The <ARCHIVE, Python 28849-XXX, 4.98> is a SCSI changer device
+ * with an Archive Python DAT drive built-in. The tape appears
+ * at LUN 0 and the changer at LUN 1.
+ * This entry should not be needed at all.
+ */
+ {
+ T_CHANGER, T_CHANGER, T_REMOV, "ARCHIVE", "Python 28849-*", "*",
+ "ch", SC_MORE_LUS
+ },
+#endif /* NCH */
#if NCD > 0
#ifndef UKTEST /* make cdroms unrecognised to test the uk driver */
/*
@@ -411,9 +427,15 @@ static struct scsidevs knowndevs[] =
},
#endif /* NST */
#if NCH > 0
+ /*
+ * Due to the way media changers are working, they are most
+ * likely always on a different LUN than the transfer element
+ * device. Thus, it should be safe to always probe all LUNs
+ * on them.
+ */
{
T_CHANGER, T_CHANGER, T_REMOV, "*", "*", "*",
- "ch", SC_ONE_LU
+ "ch", SC_MORE_LUS
},
#endif /* NCH */
#if NCD > 0 && !defined(UKTEST)
OpenPOWER on IntegriCloud