From 6d4b9c15463d4cd36c83dd1cc21ff3a53663ba33 Mon Sep 17 00:00:00 2001 From: mickey Date: Fri, 6 Sep 1996 12:19:10 +0000 Subject: [PATCH] add my cd-rom to quirk table.... no other changes. hmmm, how BSDi do handle all this quirks w/o 'em ? --- sys/dev/atapi/atapiconf.c | 4 +++- sys/dev/atapi/atapilink.h | 3 ++- 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 */ }; -- 2.20.1