Skip to contentSkip to conversation

drivers/ata: Add the SW NCQ support to sata_nv for MCP51/MCP55/MCP61

PATCH Zoltan Boszormenyi 1 participant 1 message May 17, 2007

lore
Share & tools
lore
#0 lore raw

Hi,

thanks for publishing this.

Quoted 5 lines

Add the Software NCQ support to sata_nv.c for MCP51/MCP55/MCP61 SATA controller.

This patch base on sata_nv.c file from kernel 2.6.22-rc1

Quoted 8 lines

See attachment for the patch.

==================================
See attached file.
==================================

However, I saw this in the patch:

+ /* determine if physical DMA addr spans 64K boundary.

+                * Note h/w doesn't support 64-bit, so we unconditionally
+                * truncate dma_addr_t to u32.
+                */

+ addr = (u32) sg_dma_address(sg);

Does it mean that I can't upgrade my machine to 4 GB or more without losing NCQ or risking data corruption?
Can the code be made IOMMU-aware?

Best regards,
Zoltán Böszörményi