sata_mv: mv_fill_sg fixes v2
authorMark Lord <liml@rtr.ca>
Sun, 1 Feb 2009 21:50:32 +0000 (16:50 -0500)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Mar 2009 02:02:38 +0000 (22:02 -0400)
commit32cd11a61007511ddb38783deec8bb1aa6735789
treeda18d4cd46a627c060a390ab40a8b6f2972fc2a0
parent95db505125fb7bc624b7c3b6747bbeaebbffc2e4
sata_mv: mv_fill_sg fixes v2

Fix mv_fill_sg() to zero out the reserved word (required for ATAPI),
and to include a memory barrier.  This may also help with problems
reported by Jens on the PPC platform.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/sata_mv.c