aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_sis.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ata/pata_sis.c')
-rw-r--r--drivers/ata/pata_sis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/pata_sis.c b/drivers/ata/pata_sis.c
index 87546d9f1ca0..dc7e91562e43 100644
--- a/drivers/ata/pata_sis.c
+++ b/drivers/ata/pata_sis.c
@@ -345,7 +345,7 @@ static void sis_old_set_dmamode (struct ata_port *ap, struct ata_device *adev)
345 345
346 if (adev->dma_mode < XFER_UDMA_0) { 346 if (adev->dma_mode < XFER_UDMA_0) {
347 /* bits 3-0 hold recovery timing bits 8-10 active timing and 347 /* bits 3-0 hold recovery timing bits 8-10 active timing and
348 the higer bits are dependant on the device */ 348 the higher bits are dependant on the device */
349 timing &= ~0x870F; 349 timing &= ~0x870F;
350 timing |= mwdma_bits[speed]; 350 timing |= mwdma_bits[speed];
351 } else { 351 } else {
@@ -385,7 +385,7 @@ static void sis_66_set_dmamode (struct ata_port *ap, struct ata_device *adev)
385 385
386 if (adev->dma_mode < XFER_UDMA_0) { 386 if (adev->dma_mode < XFER_UDMA_0) {
387 /* bits 3-0 hold recovery timing bits 8-10 active timing and 387 /* bits 3-0 hold recovery timing bits 8-10 active timing and
388 the higer bits are dependant on the device, bit 15 udma */ 388 the higher bits are dependant on the device, bit 15 udma */
389 timing &= ~0x870F; 389 timing &= ~0x870F;
390 timing |= mwdma_bits[speed]; 390 timing |= mwdma_bits[speed];
391 } else { 391 } else {