diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-09-03 12:41:30 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2020-09-03 12:41:30 +0000 |
commit | c836170e16e763e4963317f829c4dadf9a438e99 (patch) | |
tree | f3d0fe2e70a9d8903c42bb1e3218fb461e802329 /sys/dev/sdmmc/sdmmc_scsi.c | |
parent | 55e492d4547f22b2e0081d07091a376aeaad9ee3 (diff) |
Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.
Diffstat (limited to 'sys/dev/sdmmc/sdmmc_scsi.c')
-rw-r--r-- | sys/dev/sdmmc/sdmmc_scsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdmmc_scsi.c b/sys/dev/sdmmc/sdmmc_scsi.c index 4a5594d437d..38609ec53fc 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.55 2020/09/02 21:16:29 krw Exp $ */ +/* $OpenBSD: sdmmc_scsi.c,v 1.56 2020/09/03 12:41:29 krw Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -437,7 +437,7 @@ sdmmc_inquiry(struct scsi_xfer *xs) inq.device = T_DIRECT; inq.dev_qual2 = SID_REMOVABLE; inq.version = SCSI_REV_2; - inq.response_format = 2; + inq.response_format = SID_SCSI2_RESPONSE; inq.additional_length = 32; memcpy(inq.vendor, vendor, sizeof(inq.vendor)); memcpy(inq.product, product, sizeof(inq.product)); |