summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/dev/sdmmc/sdmmc_scsi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c
index 5300065183b..d9896c84143 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.36 2016/05/05 10:51:10 kettenis Exp $ */
+/* $OpenBSD: sdmmc_scsi.c,v 1.37 2017/01/20 00:52:32 deraadt Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -424,6 +424,7 @@ sdmmc_inquiry(struct scsi_xfer *xs)
memset(&inq, 0, sizeof inq);
inq.device = T_DIRECT;
+ inq.dev_qual2 = SID_REMOVABLE;
inq.version = 2;
inq.response_format = 2;
inq.additional_length = 32;