Module Name: src
Committed By: nat
Date: Sun Sep 29 12:36:41 UTC 2024
Modified Files:
src/sys/dev/scsipi: scsiconf.c
Log Message:
Add quirk for the standard PiSCSI cdrom emulation.
To generate a diff of this commit:
cvs rdiff -u -r1.304 -r1.305 src/sys/dev/scsipi/scsiconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/scsipi/scsiconf.c
diff -u src/sys/dev/scsipi/scsiconf.c:1.304 src/sys/dev/scsipi/scsiconf.c:1.305
--- src/sys/dev/scsipi/scsiconf.c:1.304 Sat Jun 22 10:10:07 2024
+++ src/sys/dev/scsipi/scsiconf.c Sun Sep 29 12:36:40 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: scsiconf.c,v 1.304 2024/06/22 10:10:07 palle Exp $ */
+/* $NetBSD: scsiconf.c,v 1.305 2024/09/29 12:36:40 nat Exp $ */
/*-
* Copyright (c) 1998, 1999, 2004 The NetBSD Foundation, Inc.
@@ -48,7 +48,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.304 2024/06/22 10:10:07 palle Exp $");
+__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.305 2024/09/29 12:36:40 nat Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -738,6 +738,8 @@ static const struct scsi_quirk_inquiry_p
"MST ", "SnapLink ", ""}, PQUIRK_NOLUNS},
{{T_DIRECT, T_FIXED,
"NEC ", "D3847 ", "0307"}, PQUIRK_NOLUNS},
+ {{T_CDROM, T_REMOV,
+ "PiSCSI ", "SCSI CD-ROM ", ""}, PQUIRK_NOREADDISCINFO},
{{T_DIRECT, T_FIXED,
"QUANTUM ", "ELS85S ", ""}, PQUIRK_AUTOSAVE},
{{T_DIRECT, T_FIXED,