From f42207bfe896cbb30b311d9135a6751e28dd1487 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Wed, 21 Mar 2007 03:42:08 +0000 Subject: atascsi sends h2d fis's, not d2h. --- sys/dev/ata/atascsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/ata') diff --git a/sys/dev/ata/atascsi.c b/sys/dev/ata/atascsi.c index bdbc43a4a5e..7b433a2101e 100644 --- a/sys/dev/ata/atascsi.c +++ b/sys/dev/ata/atascsi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: atascsi.c,v 1.30 2007/03/21 00:09:16 dlg Exp $ */ +/* $OpenBSD: atascsi.c,v 1.31 2007/03/21 03:42:07 dlg Exp $ */ /* * Copyright (c) 2007 David Gwynne @@ -710,7 +710,7 @@ ata_get_xfer(struct ata_port *ap, int nosleep /* XXX unused */) xa = as->as_methods->ata_get_xfer(as->as_cookie, ap->ap_port); if (xa != NULL) - xa->fis->type = ATA_FIS_TYPE_D2H; + xa->fis->type = ATA_FIS_TYPE_H2D; return (xa); } -- cgit v1.2.3