diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:07 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-10-18 18:30:07 -0400 |
commit | 9adf768a398745c539623210502b521e671c59d7 (patch) | |
tree | 4b7648e5d3c0af3a69d2d357d8c01345cd64f9c0 /drivers/ide/pci | |
parent | 238e4f142c33bb34440cc64029dde7b9fbc4e65f (diff) |
pdc202xx_old: remove broken SWDMA support
Documentation doesn't mention SWDMA and moreover all timings used
for SWDMA modes were over-clocked when compared to ATA spec.
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index ddf9a3d81b59..d8622be22875 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * linux/drivers/ide/pci/pdc202xx_old.c Version 0.51 Jul 27, 2007 | 2 | * linux/drivers/ide/pci/pdc202xx_old.c Version 0.52 Aug 27, 2007 |
3 | * | 3 | * |
4 | * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org> | 4 | * Copyright (C) 1998-2002 Andre Hedrick <andre@linux-ide.org> |
5 | * Copyright (C) 2006-2007 MontaVista Software, Inc. | 5 | * Copyright (C) 2006-2007 MontaVista Software, Inc. |
@@ -97,9 +97,6 @@ static void pdc202xx_set_mode(ide_drive_t *drive, const u8 speed) | |||
97 | case XFER_MW_DMA_2: TB = 0x60; TC = 0x03; break; | 97 | case XFER_MW_DMA_2: TB = 0x60; TC = 0x03; break; |
98 | case XFER_MW_DMA_1: TB = 0x60; TC = 0x04; break; | 98 | case XFER_MW_DMA_1: TB = 0x60; TC = 0x04; break; |
99 | case XFER_MW_DMA_0: TB = 0xE0; TC = 0x0F; break; | 99 | case XFER_MW_DMA_0: TB = 0xE0; TC = 0x0F; break; |
100 | case XFER_SW_DMA_2: TB = 0x60; TC = 0x05; break; | ||
101 | case XFER_SW_DMA_1: TB = 0x80; TC = 0x06; break; | ||
102 | case XFER_SW_DMA_0: TB = 0xC0; TC = 0x0B; break; | ||
103 | case XFER_PIO_4: TA = 0x01; TB = 0x04; break; | 100 | case XFER_PIO_4: TA = 0x01; TB = 0x04; break; |
104 | case XFER_PIO_3: TA = 0x02; TB = 0x06; break; | 101 | case XFER_PIO_3: TA = 0x02; TB = 0x06; break; |
105 | case XFER_PIO_2: TA = 0x03; TB = 0x08; break; | 102 | case XFER_PIO_2: TA = 0x03; TB = 0x08; break; |
@@ -329,7 +326,6 @@ static void __devinit init_hwif_pdc202xx(ide_hwif_t *hwif) | |||
329 | 326 | ||
330 | hwif->ultra_mask = hwif->cds->udma_mask; | 327 | hwif->ultra_mask = hwif->cds->udma_mask; |
331 | hwif->mwdma_mask = 0x07; | 328 | hwif->mwdma_mask = 0x07; |
332 | hwif->swdma_mask = 0x07; | ||
333 | 329 | ||
334 | hwif->dma_lost_irq = &pdc202xx_dma_lost_irq; | 330 | hwif->dma_lost_irq = &pdc202xx_dma_lost_irq; |
335 | hwif->dma_timeout = &pdc202xx_dma_timeout; | 331 | hwif->dma_timeout = &pdc202xx_dma_timeout; |