sata_nv: Cleanup taskfile setup
authorRobert Hancock <hancockr@shaw.ca>
Tue, 20 Feb 2007 01:02:46 +0000 (19:02 -0600)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:19 +0000 (04:58 -0500)
commitac3d6b869f1f2d8ee1bf7b0ba45cd7daed9b9513
treea98eece94c628f725dbd079b35fdfec5604a5139
parent41949ed5c11a9d6e7af1afd62957d8d1988c803e
sata_nv: Cleanup taskfile setup

This edits the taskfile setup to more closely match the way that libata
sends the taskfile for other controllers. This avoids putting taskfile writes
into the CPB buffer that are not needed according to the taskfile flags.

Signed-off-by: Robert Hancock <hancockr@shaw.ca>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_nv.c