02_libata_ahci-err-int.patch

        (included in libata-2.6) Fixes AHCI bits during handling of
        fatal error int.

Signed-off-by: Brett Russ <[EMAIL PROTECTED]>

 ahci.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: libata-dev-2.6/drivers/scsi/ahci.c
===================================================================
--- libata-dev-2.6.orig/drivers/scsi/ahci.c     2005-03-17 17:16:57.000000000 
-0500
+++ libata-dev-2.6/drivers/scsi/ahci.c  2005-03-17 17:16:57.000000000 -0500
@@ -548,7 +548,7 @@ static void ahci_intr_error(struct ata_p
 
        /* stop DMA */
        tmp = readl(port_mmio + PORT_CMD);
-       tmp &= PORT_CMD_START | PORT_CMD_FIS_RX;
+       tmp &= ~PORT_CMD_START;
        writel(tmp, port_mmio + PORT_CMD);
 
        /* wait for engine to stop.  TODO: this could be
@@ -580,7 +580,7 @@ static void ahci_intr_error(struct ata_p
 
        /* re-start DMA */
        tmp = readl(port_mmio + PORT_CMD);
-       tmp |= PORT_CMD_START | PORT_CMD_FIS_RX;
+       tmp |= PORT_CMD_START;
        writel(tmp, port_mmio + PORT_CMD);
        readl(port_mmio + PORT_CMD); /* flush */
 

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

Reply via email to