Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96723
b: refs/heads/master
c: e7f379d
h: refs/heads/master
i:
  96721: 01ece6a
  96719: de56e6c
v: v3
  • Loading branch information
Bartlomiej Zolnierkiewicz committed May 14, 2008
1 parent 81444e5 commit 1486be3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 63b1623ef0e33160d782fd1b0044e9a8af5d16cf
refs/heads/master: e7f379d5cabb2790ecce5d623382fa6085e7686d
15 changes: 0 additions & 15 deletions trunk/drivers/ide/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -463,21 +463,6 @@ config BLK_DEV_ALI15X3

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
tristate "AMD and nVidia IDE support"
depends on !ARM
Expand Down
4 changes: 0 additions & 4 deletions trunk/drivers/ide/pci/alim15x3.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,20 +127,16 @@ static void ali_set_pio_mode(ide_drive_t *drive, const u8 pio)
* No UDMA on revisions <= 0x20
* Disk only for revisions < 0xC2
* Not WDC drives on M1543C-E (?)
*
* FIXME: WDC ifdef needs to die
*/

static u8 ali_udma_filter(ide_drive_t *drive)
{
if (m5229_revision > 0x20 && m5229_revision < 0xC2) {
if (drive->media != ide_disk)
return 0;
#ifndef CONFIG_WDC_ALI15X3
if (chip_is_1543c_e && strstr(drive->id->model, "WDC ") &&
wdc_udma == 0)
return 0;
#endif
}

return drive->hwif->ultra_mask;
Expand Down

0 comments on commit 1486be3

Please sign in to comment.