pata_cmd64x: cmd648_bmdma_stop() fix
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 17:15:11 +0000 (18:15 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Mon, 1 Mar 2010 19:58:45 +0000 (14:58 -0500)
Clear the primary channel pending interrupt bit
instead of the reserved one.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/pata_cmd64x.c

index 0235a1d3c2fb4308e9f38edcc961f4c982c986a3..7bc00d5fa600a85b7e2f7cf432023d81e5319c99 100644 (file)
@@ -40,7 +40,7 @@
 
 enum {
        CFR             = 0x50,
-               CFR_INTR_CH0  = 0x02,
+               CFR_INTR_CH0  = 0x04,
        CNTRL           = 0x51,
                CNTRL_DIS_RA0 = 0x40,
                CNTRL_DIS_RA1 = 0x80,