diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2007-03-21 03:42:08 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2007-03-21 03:42:08 +0000 |
commit | f42207bfe896cbb30b311d9135a6751e28dd1487 (patch) | |
tree | f3cc178271d8c4a4330e2cacbfa8cd22e35ff9f9 /sys/dev | |
parent | c929cb3352d36a7ffe6c2f49aeead12689d731f8 (diff) |
atascsi sends h2d fis's, not d2h.
Diffstat (limited to 'sys/dev')
-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 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 <dlg@openbsd.org> @@ -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); } |