diff options
author | 2007-11-23 12:56:31 +0000 | |
---|---|---|
committer | 2007-11-23 12:56:31 +0000 | |
commit | 2aa9a4976a4227b398a24c6cc44217ece5df8302 (patch) | |
tree | add5e397fccde76b9c4c7bee467f505bb24daac7 | |
parent | Degrade sensor status in an interrupt context. (diff) | |
download | wireguard-openbsd-2aa9a4976a4227b398a24c6cc44217ece5df8302.tar.xz wireguard-openbsd-2aa9a4976a4227b398a24c6cc44217ece5df8302.zip |
t10 has a whole spec on doing SCSI to ATA translation called SAT. i wish
id known about it when i wrote atascsi. anyway.
it says we should claim SPC-3 when we fake INQUIRY.
-rw-r--r-- | sys/dev/ata/atascsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c index 2ed77d52337..d78171a14c9 100644 --- a/sys/dev/ata/atascsi.c +++ b/sys/dev/ata/atascsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.c,v 1.43 2007/11/16 02:17:27 dlg Exp $ */ +/* $OpenBSD: atascsi.c,v 1.44 2007/11/23 12:56:31 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne <dlg@openbsd.org> @@ -464,7 +464,7 @@ atascsi_disk_inq_done(struct ata_xfer *xa) bzero(&inq, sizeof(inq)); inq.device = T_DIRECT; - inq.version = 2; + inq.version = 0x05; /* SPC-3 */ inq.response_format = 2; inq.additional_length = 32; bcopy("ATA ", inq.vendor, sizeof(inq.vendor)); |