]> git.hungrycats.org Git - linux/commit
[libata] fix PIO data xfer on big endian
authorJeff Garzik <jgarzik@pobox.com>
Sat, 14 Aug 2004 05:50:36 +0000 (01:50 -0400)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 14 Aug 2004 05:50:36 +0000 (01:50 -0400)
commitd19fc429863ef02ef652dee4017b31590b635799
tree4cf1c97ef649a60bbae6908457686756e598847b
parentc79dd2877a045f479a9e9a4371ab966b6520801c
[libata] fix PIO data xfer on big endian

We were reading the data swapped, which was correct for the
data page read from IDENTIFY DEVICE and incorrect for all other
situations.

Noticed by Ben Herrenschmidt.
drivers/scsi/libata-core.c