diff options
| author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-12-03 11:25:57 -0500 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-12-03 11:25:57 -0500 |
| commit | 2db3dae51c1a096cfbd0e6f14c5ecca16e79a1d0 (patch) | |
| tree | 6d1efa7a9a330d08936f5a5ed43691e147434119 | |
| parent | 22763c5cf3690a681551162c15d34d935308c8d7 (diff) | |
alim15x3: remove obsolete and dangerous wdc_udma parameter
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
| -rw-r--r-- | drivers/ide/alim15x3.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/drivers/ide/alim15x3.c b/drivers/ide/alim15x3.c index e59b6dee9ae2..0abc43f3101e 100644 --- a/drivers/ide/alim15x3.c +++ b/drivers/ide/alim15x3.c | |||
| @@ -40,16 +40,6 @@ | |||
| 40 | #define DRV_NAME "alim15x3" | 40 | #define DRV_NAME "alim15x3" |
| 41 | 41 | ||
| 42 | /* | 42 | /* |
| 43 | * Allow UDMA on M1543C-E chipset for WDC disks that ignore CRC checking | ||
| 44 | * (this is DANGEROUS and could result in data corruption). | ||
| 45 | */ | ||
| 46 | static int wdc_udma; | ||
| 47 | |||
| 48 | module_param(wdc_udma, bool, 0); | ||
| 49 | MODULE_PARM_DESC(wdc_udma, | ||
| 50 | "allow UDMA on M1543C-E chipset for WDC disks (DANGEROUS)"); | ||
| 51 | |||
| 52 | /* | ||
| 53 | * ALi devices are not plug in. Otherwise these static values would | 43 | * ALi devices are not plug in. Otherwise these static values would |
| 54 | * need to go. They ought to go away anyway | 44 | * need to go. They ought to go away anyway |
| 55 | */ | 45 | */ |
| @@ -132,7 +122,7 @@ static u8 ali_udma_filter(ide_drive_t *drive) | |||
| 132 | if (m5229_revision > 0x20 && m5229_revision < 0xC2) { | 122 | if (m5229_revision > 0x20 && m5229_revision < 0xC2) { |
| 133 | if (drive->media != ide_disk) | 123 | if (drive->media != ide_disk) |
| 134 | return 0; | 124 | return 0; |
| 135 | if (wdc_udma == 0 && chip_is_1543c_e && | 125 | if (chip_is_1543c_e && |
| 136 | strstr((char *)&drive->id[ATA_ID_PROD], "WDC ")) | 126 | strstr((char *)&drive->id[ATA_ID_PROD], "WDC ")) |
| 137 | return 0; | 127 | return 0; |
| 138 | } | 128 | } |
