[EMAIL PROTECTED] wrote:
From: Saeed Bishara <[EMAIL PROTECTED]>

Marvell's Orion SoC includes SATA controllers based on Marvell's
PCI-to-SATA 88SX controllers. The integrated SATA unit is connected
directly to the internal bus of the Orion SoC, and not via PCI.
This patch extends the libATA sata_mv driver to support those
controllers.

Signed-off-by: Saeed Bishara <[EMAIL PROTECTED]>

Overall, looks pretty good.

My main comment is that several changes, like

-       void (*reset_bus)(struct pci_dev *pdev, void __iomem *mmio);
+       void (*reset_bus)(struct ata_host *host, void __iomem *mmio);

and

-       if (unlikely(irq_stat & PCI_ERR)) {
+       if (unlikely(irq_stat & PCI_ERR) && HAS_PCI(host)) {

belong in patch #1, the PCI isolation patch, rather than this patch implementing support for integrated controllers.

Finally, don't hardcode a 32-bit DMA mask in your platform_device setup, pass that mask in via mv_sata_platform_data.

        Jeff



-
To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to