Module Name: src Committed By: palle Date: Sat Jun 22 10:10:07 UTC 2024
Modified Files: src/sys/dev/scsipi: scsiconf.c Log Message: Add quirk for sparc64/sun4v ldom virtual cd devices To generate a diff of this commit: cvs rdiff -u -r1.303 -r1.304 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.303 src/sys/dev/scsipi/scsiconf.c:1.304 --- src/sys/dev/scsipi/scsiconf.c:1.303 Sat Oct 15 18:42:49 2022 +++ src/sys/dev/scsipi/scsiconf.c Sat Jun 22 10:10:07 2024 @@ -1,4 +1,4 @@ -/* $NetBSD: scsiconf.c,v 1.303 2022/10/15 18:42:49 jmcneill Exp $ */ +/* $NetBSD: scsiconf.c,v 1.304 2024/06/22 10:10:07 palle 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.303 2022/10/15 18:42:49 jmcneill Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.304 2024/06/22 10:10:07 palle Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -864,6 +864,8 @@ static const struct scsi_quirk_inquiry_p "SONY ", "CDL1100 ", ""}, PQUIRK_NOLUNS}, {{T_ENCLOSURE, T_FIXED, "SUN ", "SENA ", ""}, PQUIRK_NOLUNS}, + {{T_CDROM, T_REMOV, + "SUN ", "Virtual CDROM ", ""}, PQUIRK_NOREADDISCINFO}, }; /*