Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fbbb262d authored by Robert Hancock's avatar Robert Hancock Committed by Jeff Garzik
Browse files

[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: default avatarRobert Hancock <hancockr@shaw.ca>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Tejun Heo <htejun@gmail.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
parent 6e9d8629
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -732,7 +732,7 @@ void ata_bmdma_drive_eh(struct ata_port *ap, ata_prereset_fn_t prereset,
		   qc->tf.protocol == ATA_PROT_ATAPI_DMA)) {
		   qc->tf.protocol == ATA_PROT_ATAPI_DMA)) {
		u8 host_stat;
		u8 host_stat;


		host_stat = ata_bmdma_status(ap);
		host_stat = ap->ops->bmdma_status(ap);


		ata_ehi_push_desc(&ehc->i, "BMDMA stat 0x%x", host_stat);
		ata_ehi_push_desc(&ehc->i, "BMDMA stat 0x%x", host_stat);


+923 −11

File changed.

Preview size limit exceeded, changes collapsed.