diff options
| author | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-17 20:00:48 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-03-17 20:00:48 -0400 |
| commit | 2f8dd8505e005df1711722664d12865cc8b3da4d (patch) | |
| tree | 95c84410232aedf9ceed5094b3530b9f660b1634 /drivers/ide/arm/icside.c | |
| parent | 360afb033277688f145030c80fd2853dbfaebba5 (diff) | |
| parent | 120b9cfddff2e398fece07c5e127f3fdbb660441 (diff) | |
Merge master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6:
ide: remove CONFIG_IDEDMA_{ICS,PCI}_AUTO config options
ide: don't allow DMA to be enabled if CONFIG_IDEDMA_{ICS,PCI}_AUTO=n
scc_pata: dependency fix
jmicron: make ide jmicron driver play nice with libata ones
ide: remove static prototypes from include/asm-mips/mach-au1x00/au1xxx_ide.h
ide: au1xxx: fix use of mixed declarations and code
cmd64x: fix recovery time calculation (take 3)
Diffstat (limited to 'drivers/ide/arm/icside.c')
| -rw-r--r-- | drivers/ide/arm/icside.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/drivers/ide/arm/icside.c b/drivers/ide/arm/icside.c index 40e5c66b81ce..e2953fc1fafb 100644 --- a/drivers/ide/arm/icside.c +++ b/drivers/ide/arm/icside.c | |||
| @@ -196,11 +196,6 @@ static void icside_maskproc(ide_drive_t *drive, int mask) | |||
| 196 | } | 196 | } |
| 197 | 197 | ||
| 198 | #ifdef CONFIG_BLK_DEV_IDEDMA_ICS | 198 | #ifdef CONFIG_BLK_DEV_IDEDMA_ICS |
| 199 | |||
| 200 | #ifndef CONFIG_IDEDMA_ICS_AUTO | ||
| 201 | #warning CONFIG_IDEDMA_ICS_AUTO=n support is obsolete, and will be removed soon. | ||
| 202 | #endif | ||
| 203 | |||
| 204 | /* | 199 | /* |
| 205 | * SG-DMA support. | 200 | * SG-DMA support. |
| 206 | * | 201 | * |
| @@ -474,12 +469,6 @@ static int icside_dma_lostirq(ide_drive_t *drive) | |||
| 474 | 469 | ||
| 475 | static void icside_dma_init(ide_hwif_t *hwif) | 470 | static void icside_dma_init(ide_hwif_t *hwif) |
| 476 | { | 471 | { |
| 477 | int autodma = 0; | ||
| 478 | |||
| 479 | #ifdef CONFIG_IDEDMA_ICS_AUTO | ||
| 480 | autodma = 1; | ||
| 481 | #endif | ||
| 482 | |||
| 483 | printk(" %s: SG-DMA", hwif->name); | 472 | printk(" %s: SG-DMA", hwif->name); |
| 484 | 473 | ||
| 485 | hwif->atapi_dma = 1; | 474 | hwif->atapi_dma = 1; |
| @@ -489,7 +478,7 @@ static void icside_dma_init(ide_hwif_t *hwif) | |||
| 489 | hwif->dmatable_cpu = NULL; | 478 | hwif->dmatable_cpu = NULL; |
| 490 | hwif->dmatable_dma = 0; | 479 | hwif->dmatable_dma = 0; |
| 491 | hwif->speedproc = icside_set_speed; | 480 | hwif->speedproc = icside_set_speed; |
| 492 | hwif->autodma = autodma; | 481 | hwif->autodma = 1; |
| 493 | 482 | ||
| 494 | hwif->ide_dma_check = icside_dma_check; | 483 | hwif->ide_dma_check = icside_dma_check; |
| 495 | hwif->dma_host_off = icside_dma_host_off; | 484 | hwif->dma_host_off = icside_dma_host_off; |
