aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-05-14 17:06:16 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-05-14 17:06:16 -0400
commite7f379d5cabb2790ecce5d623382fa6085e7686d (patch)
treec38b2d36fd35f27db369e1091b39e7d47e37db3b /drivers
parent63b1623ef0e33160d782fd1b0044e9a8af5d16cf (diff)
alim15x3: remove WDC_ALI15X3 config option
There is "wdc_udma" module parameter now. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/Kconfig15
-rw-r--r--drivers/ide/pci/alim15x3.c4
2 files changed, 0 insertions, 19 deletions
diff --git a/drivers/ide/Kconfig b/drivers/ide/Kconfig
index f702f9152ce6..627f08e93e0a 100644
--- a/drivers/ide/Kconfig
+++ b/drivers/ide/Kconfig
@@ -463,21 +463,6 @@ config BLK_DEV_ALI15X3
463 463
464 If unsure, say N. 464 If unsure, say N.
465 465
466config WDC_ALI15X3
467 bool "ALI M15x3 WDC support (DANGEROUS)"
468 depends on BLK_DEV_ALI15X3
469 ---help---
470 This allows for UltraDMA support for WDC drives that ignore CRC
471 checking. You are a fool for enabling this option, but there have
472 been requests. DO NOT COMPLAIN IF YOUR DRIVE HAS FS CORRUPTION, IF
473 YOU ENABLE THIS! No one will listen, just laugh for ignoring this
474 SERIOUS WARNING.
475
476 Using this option can allow WDC drives to run at ATA-4/5 transfer
477 rates with only an ATA-2 support structure.
478
479 SAY N!
480
481config BLK_DEV_AMD74XX 466config BLK_DEV_AMD74XX
482 tristate "AMD and nVidia IDE support" 467 tristate "AMD and nVidia IDE support"
483 depends on !ARM 468 depends on !ARM
diff --git a/drivers/ide/pci/alim15x3.c b/drivers/ide/pci/alim15x3.c
index 3eaab542c41a..f2129d5e07f2 100644
--- a/drivers/ide/pci/alim15x3.c
+++ b/drivers/ide/pci/alim15x3.c
@@ -127,8 +127,6 @@ static void ali_set_pio_mode(ide_drive_t *drive, const u8 pio)
127 * No UDMA on revisions <= 0x20 127 * No UDMA on revisions <= 0x20
128 * Disk only for revisions < 0xC2 128 * Disk only for revisions < 0xC2
129 * Not WDC drives on M1543C-E (?) 129 * Not WDC drives on M1543C-E (?)
130 *
131 * FIXME: WDC ifdef needs to die
132 */ 130 */
133 131
134static u8 ali_udma_filter(ide_drive_t *drive) 132static u8 ali_udma_filter(ide_drive_t *drive)
@@ -136,11 +134,9 @@ static u8 ali_udma_filter(ide_drive_t *drive)
136 if (m5229_revision > 0x20 && m5229_revision < 0xC2) { 134 if (m5229_revision > 0x20 && m5229_revision < 0xC2) {
137 if (drive->media != ide_disk) 135 if (drive->media != ide_disk)
138 return 0; 136 return 0;
139#ifndef CONFIG_WDC_ALI15X3
140 if (chip_is_1543c_e && strstr(drive->id->model, "WDC ") && 137 if (chip_is_1543c_e && strstr(drive->id->model, "WDC ") &&
141 wdc_udma == 0) 138 wdc_udma == 0)
142 return 0; 139 return 0;
143#endif
144 } 140 }
145 141
146 return drive->hwif->ultra_mask; 142 return drive->hwif->ultra_mask;