diff options
Diffstat (limited to 'drivers/ata/pata_scc.c')
-rw-r--r-- | drivers/ata/pata_scc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_scc.c b/drivers/ata/pata_scc.c index de04042f34d3..45866098fbf9 100644 --- a/drivers/ata/pata_scc.c +++ b/drivers/ata/pata_scc.c | |||
@@ -233,7 +233,7 @@ static void scc_set_dmamode (struct ata_port *ap, struct ata_device *adev) | |||
233 | void __iomem *tdvhsel_port = ctrl_base + SCC_CTL_TDVHSEL; | 233 | void __iomem *tdvhsel_port = ctrl_base + SCC_CTL_TDVHSEL; |
234 | int offset, idx; | 234 | int offset, idx; |
235 | 235 | ||
236 | if (in_be32(cckctrl_port) & CCKCTRL_ATACLKOEN) | 236 | if (in_be32(cckctrl_port) & CCKCTRL_ATACLKOEN) |
237 | offset = 1; /* 133MHz */ | 237 | offset = 1; /* 133MHz */ |
238 | else | 238 | else |
239 | offset = 0; /* 100MHz */ | 239 | offset = 0; /* 100MHz */ |
@@ -720,7 +720,7 @@ static u8 scc_bmdma_status (struct ata_port *ap) | |||
720 | 720 | ||
721 | host_stat = in_be32(mmio + SCC_DMA_STATUS); | 721 | host_stat = in_be32(mmio + SCC_DMA_STATUS); |
722 | 722 | ||
723 | /* Workaround for PTERADD: emulate DMA_INTR when | 723 | /* Workaround for PTERADD: emulate DMA_INTR when |
724 | * - IDE_STATUS[ERR] = 1 | 724 | * - IDE_STATUS[ERR] = 1 |
725 | * - INT_STATUS[INTRQ] = 1 | 725 | * - INT_STATUS[INTRQ] = 1 |
726 | * - DMA_STATUS[IORACTA] = 1 | 726 | * - DMA_STATUS[IORACTA] = 1 |