diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2023-04-19 01:42:14 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2023-04-19 01:42:14 +0000 |
commit | 239156bc7f7f4a0b2351251823b3f674b53a417a (patch) | |
tree | 2fdf91e82970b01828058c8329c38941fa5fb3e3 /sys/dev/sdmmc/sdmmc_scsi.c | |
parent | 82faea9e705d2b346f6575ef47e7edfb734bac2a (diff) |
handle some more manufacturer ids.
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 9 |
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; |