Gwendal Grignou wrote: > What happen if there is a SATA port multiplier behing the marvell > controller and NCQ is disabled? > > I have the impression that with this patch we are able to only send > one DMA command at a time to all the drives behind the PM, which has > an impact on performance. Yeah, right. :-( The simplest way to implement this would be just calling ata_std_qc_defer() which computes per-link restrictions after ruling out all non-standard restrictions. I wasn't really sure how EDMA/NCQ_EN flags are supposed to work so just sticked to the original condition tests. Mark, can you please help us out here? :-) Thanks. -- tejun -- To unsubscribe from this list: send the line "unsubscribe linux-ide" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html