From 1775fae985833b1025cda37d7f2cdb99d4c81048 Mon Sep 17 00:00:00 2001 From: nisimura Date: Thu, 13 Jan 2000 00:18:27 +0000 Subject: [PATCH] Add tweaks for TEAC compact cassette tape drive. --- sys/dev/scsipi/scsiconf.c | 4 +++- sys/dev/scsipi/st.c | 9 ++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/sys/dev/scsipi/scsiconf.c b/sys/dev/scsipi/scsiconf.c index b67050bd2278..f73076081da0 100644 --- a/sys/dev/scsipi/scsiconf.c +++ b/sys/dev/scsipi/scsiconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: scsiconf.c,v 1.132 1999/11/14 18:06:09 soren Exp $ */ +/* $NetBSD: scsiconf.c,v 1.133 2000/01/13 00:18:27 nisimura Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -644,6 +644,8 @@ struct scsi_quirk_inquiry_pattern scsi_quirk_patterns[] = { "WangDAT ", "Model 2600 ", "01.7"}, SDEV_NOSYNC|SDEV_NOWIDE}, {{T_SEQUENTIAL, T_REMOV, "WangDAT ", "Model 3200 ", "02.2"}, SDEV_NOSYNC|SDEV_NOWIDE}, + {{T_SEQUENTIAL, T_REMOV, + "TEAC ", "MT-2ST/N50 ", ""}, SDEV_NOLUNS}, {{T_SCANNER, T_FIXED, "RICOH ", "IS60 ", "1R08"}, SDEV_NOLUNS}, diff --git a/sys/dev/scsipi/st.c b/sys/dev/scsipi/st.c index b4882bed21dc..2c730f704c04 100644 --- a/sys/dev/scsipi/st.c +++ b/sys/dev/scsipi/st.c @@ -1,4 +1,4 @@ -/* $NetBSD: st.c,v 1.115 2000/01/12 14:46:43 mjacob Exp $ */ +/* $NetBSD: st.c,v 1.116 2000/01/13 00:18:27 nisimura Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -285,6 +285,13 @@ struct st_quirk_inquiry_pattern st_quirk_patterns[] = { {0, 0, 0} /* minor 12-15 */ }}}, #endif + {{T_SEQUENTIAL, T_REMOV, + "TEAC ", "MT-2ST/N50 ", ""}, {ST_Q_IGNORE_LOADS, 0, { + {0, 0, 0}, /* minor 0-3 */ + {0, 0, 0}, /* minor 4-7 */ + {0, 0, 0}, /* minor 8-11 */ + {0, 0, 0} /* minor 12-15 */ + }}}, }; #define NOEJECT 0