summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-06 12:19:13 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-06 12:19:13 +0000
commit5677164a9fa83909171d6eaaecbd33fa5a49d4a8 (patch)
tree1a2bb6d8e6c6025b14eb2777f60de60f8e1b82d7
parentd94573d1877d8bdd03a0862fee82e1ed71475ed3 (diff)
add my cd-rom to quirk table.... no other changes.
hmmm, how BSDi do handle all this quirks w/o 'em ?
-rw-r--r--sys/dev/atapi/atapiconf.c4
-rw-r--r--sys/dev/atapi/atapilink.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/atapi/atapiconf.c b/sys/dev/atapi/atapiconf.c
index 6fe038dc437..8a4b678e0f1 100644
--- a/sys/dev/atapi/atapiconf.c
+++ b/sys/dev/atapi/atapiconf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiconf.c,v 1.8 1996/09/04 00:51:13 downsj Exp $ */
+/* $OpenBSD: atapiconf.c,v 1.9 1996/09/06 12:19:10 mickey Exp $ */
/*
* Copyright (c) 1996 Manuel Bouyer. All rights reserved.
@@ -99,6 +99,8 @@ struct atapi_quirk_inquiry_pattern atapi_quirk_inquiry_patterns[] = {
{ATAPI_DEVICE_TYPE_DAD, ATAPI_REMOVABLE,
"NEC CD-ROM DRIVE:260", "3.04", AQUIRK_CDROM},
/* NEC Multispin 2Vi */
+ {ATAPI_DEVICE_TYPE_CD, ATAPI_REMOVABLE,
+ "NEC CD-ROM DRIVE:273", "4.21", AQUIRK_TIMING},
{0, 0, NULL, NULL, 0} /* The End */
};
diff --git a/sys/dev/atapi/atapilink.h b/sys/dev/atapi/atapilink.h
index d39b10cfaee..7a9d344c82d 100644
--- a/sys/dev/atapi/atapilink.h
+++ b/sys/dev/atapi/atapilink.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapilink.h,v 1.6 1996/09/04 00:51:14 downsj Exp $ */
+/* $OpenBSD: atapilink.h,v 1.7 1996/09/06 12:19:12 mickey Exp $ */
/*
* Copyright (c) 1996 Manuel Bouyer. All rights reserved.
@@ -153,6 +153,7 @@ struct at_dev_link {
#define AQUIRK_CDROM 0x01 /* device is a CD-ROM */
#define AQUIRK_LITTLETOC 0x02 /* Audio TOC uses wrong byte order */
#define AQUIRK_NOCAPACITY 0x04 /* no READ_CD_CAPACITY command */
+#define AQUIRK_TIMING 0x08 /* timing problems */
void (*start) __P((void *)); /* device start routine */
int (*done) __P((void *)); /* device done routine */
};