diff options
author | 2020-09-03 12:41:28 +0000 | |
---|---|---|
committer | 2020-09-03 12:41:28 +0000 | |
commit | bb4b71eb63de177b74e4e4331bd9504c28c95090 (patch) | |
tree | 5dcfdfcf021d70b65f23b594dd73a28ebce85e3b /sys/dev/ata/atascsi.c | |
parent | Switch use of '\0' to NULL (diff) | |
download | wireguard-openbsd-bb4b71eb63de177b74e4e4331bd9504c28c95090.tar.xz wireguard-openbsd-bb4b71eb63de177b74e4e4331bd9504c28c95090.zip |
Replace '.response_format = 2' with '.response_format = SID_SCSI2_RESPONSE'.
Diffstat (limited to 'sys/dev/ata/atascsi.c')
-rw-r--r-- | sys/dev/ata/atascsi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c index defd41063b2..ec1e371d329 100644 --- a/sys/dev/ata/atascsi.c +++ b/sys/dev/ata/atascsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.c,v 1.146 2020/09/02 21:16:29 krw Exp $ */ +/* $OpenBSD: atascsi.c,v 1.147 2020/09/03 12:41:29 krw Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -709,7 +709,7 @@ atascsi_disk_inquiry(struct scsi_xfer *xs) inq.device = T_DIRECT; inq.version = SCSI_REV_SPC3; - inq.response_format = 2; + inq.response_format = SID_SCSI2_RESPONSE; inq.additional_length = 32; inq.flags |= SID_CmdQue; bcopy("ATA ", inq.vendor, sizeof(inq.vendor)); @@ -1734,7 +1734,7 @@ atascsi_pmp_inq(struct scsi_xfer *xs) bzero(&inq, sizeof(inq)); inq.device = 0x1E; /* "well known logical unit" seems reasonable */ inq.version = SCSI_REV_SPC3; - inq.response_format = 2; + inq.response_format = SID_SCSI2_RESPONSE; inq.additional_length = 32; inq.flags |= SID_CmdQue; bcopy("ATA ", inq.vendor, sizeof(inq.vendor)); |