summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc/sdmmc_scsi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r--sys/dev/sdmmc/sdmmc_scsi.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c
index 13cb9101085..c3bd7ccbcd1 100644
--- a/sys/dev/sdmmc/sdmmc_scsi.c
+++ b/sys/dev/sdmmc/sdmmc_scsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdmmc_scsi.c,v 1.61 2022/04/16 19:19:59 naddy Exp $ */
+/* $OpenBSD: sdmmc_scsi.c,v 1.62 2023/04/19 01:42:13 dlg Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -411,6 +411,7 @@ sdmmc_inquiry(struct scsi_xfer *xs)
memset(revision, 0, sizeof(revision));
switch (tgt->card->cid.mid) {
case 0x02:
+ case 0x03:
case 0x45:
strlcpy(vendor, "Sandisk", sizeof(vendor));
break;
@@ -423,9 +424,15 @@ sdmmc_inquiry(struct scsi_xfer *xs)
case 0x15:
strlcpy(vendor, "Samsung", sizeof(vendor));
break;
+ case 0x27:
+ strlcpy(vendor, "Apacer", sizeof(vendor));
+ break;
case 0x70:
strlcpy(vendor, "Kingston", sizeof(vendor));
break;
+ case 0x90:
+ strlcpy(vendor, "Hynix", sizeof(vendor));
+ break;
default:
strlcpy(vendor, "SD/MMC", sizeof(vendor));
break;