aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2010-01-18 18:15:11 +0100
committerJeff Garzik <jgarzik@redhat.com>2010-03-01 14:58:45 -0500
commit03a849e6ddb604ff6a220b78637ee8e122ffc796 (patch)
tree89cc7a1cfe43b0ccaf39b96ac58da849ee891fa7
parentd62f5576efc4886c0f3633c2652c3a924e043be9 (diff)
pata_cmd64x: cmd648_bmdma_stop() fix
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>
-rw-r--r--drivers/ata/pata_cmd64x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_cmd64x.c b/drivers/ata/pata_cmd64x.c
index 0235a1d3c2f..7bc00d5fa60 100644
--- a/drivers/ata/pata_cmd64x.c
+++ b/drivers/ata/pata_cmd64x.c
@@ -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,