sata_nv: cleanup CPB and APRD initialization
authorRobert Hancock <hancockr@shaw.ca>
Tue, 20 Feb 2007 01:02:27 +0000 (19:02 -0600)
committerJeff Garzik <jeff@garzik.org>
Wed, 21 Feb 2007 09:58:19 +0000 (04:58 -0500)
commit41949ed5c11a9d6e7af1afd62957d8d1988c803e
tree12f11d4df52e68ad40b24c95ef5e699b0f72fc7d
parent08af7414786a3f35b686f68ada3de0b202c03d8c
sata_nv: cleanup CPB and APRD initialization

Clean up the initialization of the CPB and APRD structures so that we
strictly follow the rules for ordering of writes to the CPB flags and
response flags, and prevent duplicate initialization.

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