summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2007-11-23 12:56:32 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2007-11-23 12:56:32 +0000
commitf69f017b14d45fdb16090ae1f15adef1534c44ba (patch)
tree292cea9383bf93444404e485da7fc2677508f898 /sys/dev
parentad50d984bcf992eaa7d5cf947acc5163496144ef (diff)
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.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ata/atascsi.c4
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));