Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/scsipi Add a quirk for the Tandberg SLR/5



details:   https://anonhg.NetBSD.org/src/rev/26c5ca12c26b
branches:  trunk
changeset: 545688:26c5ca12c26b
user:      perry <perry%NetBSD.org@localhost>
date:      Mon Apr 14 16:18:23 2003 +0000

description:
Add a quirk for the Tandberg SLR/5
Fix supplied by Rex McMaster in PR kern/13603

diffstat:

 sys/dev/scsipi/st.c |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (32 lines):

diff -r b701889e912a -r 26c5ca12c26b sys/dev/scsipi/st.c
--- a/sys/dev/scsipi/st.c       Mon Apr 14 15:24:43 2003 +0000
+++ b/sys/dev/scsipi/st.c       Mon Apr 14 16:18:23 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: st.c,v 1.160 2003/03/20 05:49:22 dbj Exp $ */
+/*     $NetBSD: st.c,v 1.161 2003/04/14 16:18:23 perry Exp $ */
 /*-
  * Copyright (c) 1998 The NetBSD Foundation, Inc.
  * All rights reserved.
@@ -56,7 +56,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.160 2003/03/20 05:49:22 dbj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: st.c,v 1.161 2003/04/14 16:18:23 perry Exp $");
 
 #include "opt_scsi.h"
 
@@ -143,6 +143,13 @@
                {0, 0, QIC_150},                        /* minor 8-11 */
                {0, 0, QIC_120}                         /* minor 12-15 */
        }}},
+       {{T_SEQUENTIAL, T_REMOV,
+         "TANDBERG", " SLR5 4/8GB     ", ""},     {0, 0, {
+               {ST_Q_FORCE_BLKSIZE, 1024, 0},          /* minor 0-3 */
+               {0, 0, 0},                              /* minor 4-7 */
+               {0, 0, 0},                              /* minor 8-11 */
+               {0, 0, 0}                               /* minor 12-15 */
+       }}},
        /*
         * lacking a manual for the 4200, it's not clear what the
         * specific density codes should be- the device is a 2.5GB



Home | Main Index | Thread Index | Old Index