Skip to content
Snippets Groups Projects
Commit e7f379d5 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

alim15x3: remove WDC_ALI15X3 config option


There is "wdc_udma" module parameter now.

Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
parent 63b1623e
No related branches found
No related tags found
No related merge requests found
...@@ -463,21 +463,6 @@ config BLK_DEV_ALI15X3 ...@@ -463,21 +463,6 @@ config BLK_DEV_ALI15X3
If unsure, say N. If unsure, say N.
config WDC_ALI15X3
bool "ALI M15x3 WDC support (DANGEROUS)"
depends on BLK_DEV_ALI15X3
---help---
This allows for UltraDMA support for WDC drives that ignore CRC
checking. You are a fool for enabling this option, but there have
been requests. DO NOT COMPLAIN IF YOUR DRIVE HAS FS CORRUPTION, IF
YOU ENABLE THIS! No one will listen, just laugh for ignoring this
SERIOUS WARNING.
Using this option can allow WDC drives to run at ATA-4/5 transfer
rates with only an ATA-2 support structure.
SAY N!
config BLK_DEV_AMD74XX config BLK_DEV_AMD74XX
tristate "AMD and nVidia IDE support" tristate "AMD and nVidia IDE support"
depends on !ARM depends on !ARM
......
...@@ -127,8 +127,6 @@ static void ali_set_pio_mode(ide_drive_t *drive, const u8 pio) ...@@ -127,8 +127,6 @@ static void ali_set_pio_mode(ide_drive_t *drive, const u8 pio)
* No UDMA on revisions <= 0x20 * No UDMA on revisions <= 0x20
* Disk only for revisions < 0xC2 * Disk only for revisions < 0xC2
* Not WDC drives on M1543C-E (?) * Not WDC drives on M1543C-E (?)
*
* FIXME: WDC ifdef needs to die
*/ */
static u8 ali_udma_filter(ide_drive_t *drive) static u8 ali_udma_filter(ide_drive_t *drive)
...@@ -136,11 +134,9 @@ static u8 ali_udma_filter(ide_drive_t *drive) ...@@ -136,11 +134,9 @@ static u8 ali_udma_filter(ide_drive_t *drive)
if (m5229_revision > 0x20 && m5229_revision < 0xC2) { if (m5229_revision > 0x20 && m5229_revision < 0xC2) {
if (drive->media != ide_disk) if (drive->media != ide_disk)
return 0; return 0;
#ifndef CONFIG_WDC_ALI15X3
if (chip_is_1543c_e && strstr(drive->id->model, "WDC ") && if (chip_is_1543c_e && strstr(drive->id->model, "WDC ") &&
wdc_udma == 0) wdc_udma == 0)
return 0; return 0;
#endif
} }
return drive->hwif->ultra_mask; return drive->hwif->ultra_mask;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment