[PATCH] sata_nv ADMA/NCQ support for nForce4
authorRobert Hancock <hancockr@shaw.ca>
Sat, 28 Oct 2006 02:08:41 +0000 (19:08 -0700)
committerJeff Garzik <jeff@garzik.org>
Sat, 2 Dec 2006 03:40:27 +0000 (22:40 -0500)
commitfbbb262d9ea9bdbd79d7058271560e9990bc62d3
tree533ec01bf945518c99e71ec2b32c5fb426ab812a
parent6e9d8629b5503175a4425722a1ef13eed232c650
[PATCH] sata_nv ADMA/NCQ support for nForce4

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 <hancockr@shaw.ca>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-sff.c
drivers/ata/sata_nv.c