diff options
| author | jmcneill <jmcneill@NetBSD.org> | 2022-10-15 18:42:49 +0000 |
|---|---|---|
| committer | jmcneill <jmcneill@NetBSD.org> | 2022-10-15 18:42:49 +0000 |
| commit | 20168bcb84e80924f4cf433eb194a047649deb36 (patch) | |
| tree | ffea9285157c08ad848147b089187a13af1761f1 | |
| parent | 40e6bb2f060cb7fe74abca76980fe53cf76e2032 (diff) | |
Add PQUIRK_ONLYBIG for Oracle OCI BlockVolumes.
Oracle cloud BlockVolumes do not appear to support SCSI READ6 or WRITE6
commands, so set PQUIRK_ONLYBIG to avoid it here.
| -rw-r--r-- | sys/dev/scsipi/scsiconf.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/scsipi/scsiconf.c b/sys/dev/scsipi/scsiconf.c index 01c7f9ab9b2..b4bc9e6b712 100644 --- a/sys/dev/scsipi/scsiconf.c +++ b/sys/dev/scsipi/scsiconf.c @@ -1,4 +1,4 @@ -/* $NetBSD: scsiconf.c,v 1.302 2022/04/14 16:50:26 pgoyette Exp $ */ +/* $NetBSD: scsiconf.c,v 1.303 2022/10/15 18:42:49 jmcneill 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.302 2022/04/14 16:50:26 pgoyette Exp $"); +__KERNEL_RCSID(0, "$NetBSD: scsiconf.c,v 1.303 2022/10/15 18:42:49 jmcneill Exp $"); #include <sys/param.h> #include <sys/systm.h> @@ -792,6 +792,8 @@ static const struct scsi_quirk_inquiry_pattern scsi_quirk_patterns[] = { "SEAGATE ", "SX336704LC" , ""}, PQUIRK_CAP_SYNC | PQUIRK_CAP_WIDE16}, {{T_DIRECT, T_FIXED, "SEAGATE ", "SX173404LC", ""}, PQUIRK_CAP_SYNC | PQUIRK_CAP_WIDE16}, + {{T_DIRECT, T_FIXED, + "ORACLE", "BlockVolume", ""}, PQUIRK_ONLYBIG}, {{T_DIRECT, T_REMOV, "IOMEGA", "ZIP 100", "J.03"}, PQUIRK_NOLUNS|PQUIRK_NOSYNC}, |
