Another update to this patch, now version 7. This greatly simplifies the interrupt handler and gets rid of some of the weird code relating to the notifier clear registers (as well as a potential uninitialized value usage that was in version 6). There still seems to be the need to do a notifier clear in the interrupt handler even when the notifiers are empty. I'm not sure why that is, it would be nice to get some input from NVIDIA or those with the hardware specs as to what writing values (including zero values) to the notifier clear registers actually does. This version has passed the usual test I've been using lately, 3 concurrent bonnie++ instances, without any errors or hangs. Some testing with this updated version by others (including from those who have tried earlier versions) would be useful. An earlier version of this patch is in the -mm tree right now. Andrew, assuming that others have success with this version, would you want to just replace that patch with this one, or shall I cut an incremental patch against the previous one? --- This patch adds support for ADMA mode on NVIDIA nForce4 (CK804/MCP04) SATA controllers to the sata_nv driver. Benefits of ADMA mode include: -NCQ support -Reduced CPU overhead (controller DMAs command information from memory instead of them being pushed in by the CPU) -Full 64-bit DMA support ADMA mode is enabled by default in this version. To disable it, set the module parameter adma_enabled=0. Signed-off-by: Robert Hancock -- Robert Hancock Saskatoon, SK, Canada To email, remove "nospam" from hancockr@nospamshaw.ca Home Page: http://www.roberthancock.com/