Commit:     0fca0d6f2ce3336022a22bc7fc2e009e599e63a4
Parent:     2e7e1214defe7783c8187962bacdd0a87a7dbeee
Author:     Saeed Bishara <[EMAIL PROTECTED]>
AuthorDate: Wed Feb 13 10:09:09 2008 -1100
Committer:  Jeff Garzik <[EMAIL PROTECTED]>
CommitDate: Wed Feb 20 12:09:17 2008 -0500

    sata_mv: use hpriv->base instead of the host->iomap
    this fixes crash bug as the iomap table is not valid for integrated 
    Signed-off-by: Saeed Bishara <[EMAIL PROTECTED]>
    Acked-by: Mark Lord <[EMAIL PROTECTED]>
    Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]>
 drivers/ata/sata_mv.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/ata/sata_mv.c b/drivers/ata/sata_mv.c
index 0c0057e..eb97dde 100644
--- a/drivers/ata/sata_mv.c
+++ b/drivers/ata/sata_mv.c
@@ -870,7 +870,7 @@ static void mv_start_dma(struct ata_port *ap, void __iomem 
                struct mv_host_priv *hpriv = ap->host->private_data;
                int hard_port = mv_hardport_from_port(ap->port_no);
                void __iomem *hc_mmio = mv_hc_base_from_port(
-                               ap->host->iomap[MV_PRIMARY_BAR], hard_port);
+                                       mv_host_base(ap->host), hard_port);
                u32 hc_irq_cause, ipending;
                /* clear EDMA event indicators, if any */
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to