diff options
-rw-r--r-- | drivers/ide/ide-lib.c | 10 | ||||
-rw-r--r-- | drivers/ide/pci/amd74xx.c | 1 | ||||
-rw-r--r-- | drivers/ide/pci/via82cxxx.c | 1 | ||||
-rw-r--r-- | drivers/ide/ppc/pmac.c | 1 | ||||
-rw-r--r-- | include/linux/ide.h | 2 |
5 files changed, 0 insertions, 15 deletions
diff --git a/drivers/ide/ide-lib.c b/drivers/ide/ide-lib.c index 7031a8dcf692..fa4c194b5ede 100644 --- a/drivers/ide/ide-lib.c +++ b/drivers/ide/ide-lib.c | |||
@@ -274,16 +274,6 @@ u8 ide_get_best_pio_mode (ide_drive_t *drive, u8 mode_wanted, u8 max_mode) | |||
274 | if (overridden) | 274 | if (overridden) |
275 | printk(KERN_INFO "%s: tPIO > 2, assuming tPIO = 2\n", | 275 | printk(KERN_INFO "%s: tPIO > 2, assuming tPIO = 2\n", |
276 | drive->name); | 276 | drive->name); |
277 | |||
278 | /* | ||
279 | * Conservative "downgrade" for all pre-ATA2 drives | ||
280 | */ | ||
281 | if ((drive->hwif->host_flags & IDE_HFLAG_PIO_NO_DOWNGRADE) == 0 && | ||
282 | pio_mode && pio_mode < 4) { | ||
283 | pio_mode--; | ||
284 | printk(KERN_INFO "%s: applying conservative " | ||
285 | "PIO \"downgrade\"\n", drive->name); | ||
286 | } | ||
287 | } | 277 | } |
288 | 278 | ||
289 | if (pio_mode > max_mode) | 279 | if (pio_mode > max_mode) |
diff --git a/drivers/ide/pci/amd74xx.c b/drivers/ide/pci/amd74xx.c index 68517267d31e..ff684d312378 100644 --- a/drivers/ide/pci/amd74xx.c +++ b/drivers/ide/pci/amd74xx.c | |||
@@ -219,7 +219,6 @@ static void __devinit init_hwif_amd74xx(ide_hwif_t *hwif) | |||
219 | 219 | ||
220 | #define IDE_HFLAGS_AMD \ | 220 | #define IDE_HFLAGS_AMD \ |
221 | (IDE_HFLAG_PIO_NO_BLACKLIST | \ | 221 | (IDE_HFLAG_PIO_NO_BLACKLIST | \ |
222 | IDE_HFLAG_PIO_NO_DOWNGRADE | \ | ||
223 | IDE_HFLAG_ABUSE_SET_DMA_MODE | \ | 222 | IDE_HFLAG_ABUSE_SET_DMA_MODE | \ |
224 | IDE_HFLAG_POST_SET_MODE | \ | 223 | IDE_HFLAG_POST_SET_MODE | \ |
225 | IDE_HFLAG_IO_32BIT | \ | 224 | IDE_HFLAG_IO_32BIT | \ |
diff --git a/drivers/ide/pci/via82cxxx.c b/drivers/ide/pci/via82cxxx.c index b55d2e4d3506..cff3cafedc47 100644 --- a/drivers/ide/pci/via82cxxx.c +++ b/drivers/ide/pci/via82cxxx.c | |||
@@ -429,7 +429,6 @@ static const struct ide_port_info via82cxxx_chipset __devinitdata = { | |||
429 | .init_hwif = init_hwif_via82cxxx, | 429 | .init_hwif = init_hwif_via82cxxx, |
430 | .enablebits = { { 0x40, 0x02, 0x02 }, { 0x40, 0x01, 0x01 } }, | 430 | .enablebits = { { 0x40, 0x02, 0x02 }, { 0x40, 0x01, 0x01 } }, |
431 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | | 431 | .host_flags = IDE_HFLAG_PIO_NO_BLACKLIST | |
432 | IDE_HFLAG_PIO_NO_DOWNGRADE | | ||
433 | IDE_HFLAG_ABUSE_SET_DMA_MODE | | 432 | IDE_HFLAG_ABUSE_SET_DMA_MODE | |
434 | IDE_HFLAG_POST_SET_MODE | | 433 | IDE_HFLAG_POST_SET_MODE | |
435 | IDE_HFLAG_IO_32BIT, | 434 | IDE_HFLAG_IO_32BIT, |
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 8f4080c73081..177961edc430 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -921,7 +921,6 @@ pmac_ide_do_resume(ide_hwif_t *hwif) | |||
921 | static const struct ide_port_info pmac_port_info = { | 921 | static const struct ide_port_info pmac_port_info = { |
922 | .chipset = ide_pmac, | 922 | .chipset = ide_pmac, |
923 | .host_flags = IDE_HFLAG_SET_PIO_MODE_KEEP_DMA | | 923 | .host_flags = IDE_HFLAG_SET_PIO_MODE_KEEP_DMA | |
924 | IDE_HFLAG_PIO_NO_DOWNGRADE | | ||
925 | IDE_HFLAG_POST_SET_MODE | | 924 | IDE_HFLAG_POST_SET_MODE | |
926 | IDE_HFLAG_NO_DMA | /* no SFF-style DMA */ | 925 | IDE_HFLAG_NO_DMA | /* no SFF-style DMA */ |
927 | IDE_HFLAG_UNMASK_IRQS, | 926 | IDE_HFLAG_UNMASK_IRQS, |
diff --git a/include/linux/ide.h b/include/linux/ide.h index eccc42b47061..c6d4de60185a 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -1027,8 +1027,6 @@ enum { | |||
1027 | IDE_HFLAG_SINGLE = (1 << 1), | 1027 | IDE_HFLAG_SINGLE = (1 << 1), |
1028 | /* don't use legacy PIO blacklist */ | 1028 | /* don't use legacy PIO blacklist */ |
1029 | IDE_HFLAG_PIO_NO_BLACKLIST = (1 << 2), | 1029 | IDE_HFLAG_PIO_NO_BLACKLIST = (1 << 2), |
1030 | /* don't use conservative PIO "downgrade" */ | ||
1031 | IDE_HFLAG_PIO_NO_DOWNGRADE = (1 << 3), | ||
1032 | /* use PIO8/9 for prefetch off/on */ | 1030 | /* use PIO8/9 for prefetch off/on */ |
1033 | IDE_HFLAG_ABUSE_PREFETCH = (1 << 4), | 1031 | IDE_HFLAG_ABUSE_PREFETCH = (1 << 4), |
1034 | /* use PIO6/7 for fast-devsel off/on */ | 1032 | /* use PIO6/7 for fast-devsel off/on */ |