ide: set drive->autotune in ide_pci_setup_ports()
Majority of host drivers using IDE PCI layer set drive->autotune, the only
exceptions are:
generic.c
ns87415.c
rz1000.c
trm290.c
* no ->set_pio_mode method
it821x.c:
* if memory allocation fails drive->autotune won't be set
(but there also won't be ->set_pio_mode method in such case)
piix.c:
* MPIIX controller (no ->init_hwif method so also no ->set_pio_mode method)
However if there is no ->set_pio_mode method there are no changes in behavior
w.r.t. PIO tuning so always set drive->autotune in ide_pci_setup_ports().
Signed-off-by:
Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
- drivers/ide/pci/aec62xx.c 0 additions, 2 deletionsdrivers/ide/pci/aec62xx.c
- drivers/ide/pci/alim15x3.c 0 additions, 3 deletionsdrivers/ide/pci/alim15x3.c
- drivers/ide/pci/amd74xx.c 0 additions, 1 deletiondrivers/ide/pci/amd74xx.c
- drivers/ide/pci/atiixp.c 0 additions, 2 deletionsdrivers/ide/pci/atiixp.c
- drivers/ide/pci/cmd64x.c 0 additions, 2 deletionsdrivers/ide/pci/cmd64x.c
- drivers/ide/pci/cs5520.c 0 additions, 3 deletionsdrivers/ide/pci/cs5520.c
- drivers/ide/pci/cs5530.c 0 additions, 3 deletionsdrivers/ide/pci/cs5530.c
- drivers/ide/pci/cs5535.c 0 additions, 2 deletionsdrivers/ide/pci/cs5535.c
- drivers/ide/pci/cy82c693.c 0 additions, 3 deletionsdrivers/ide/pci/cy82c693.c
- drivers/ide/pci/hpt34x.c 0 additions, 3 deletionsdrivers/ide/pci/hpt34x.c
- drivers/ide/pci/hpt366.c 0 additions, 2 deletionsdrivers/ide/pci/hpt366.c
- drivers/ide/pci/it8213.c 0 additions, 3 deletionsdrivers/ide/pci/it8213.c
- drivers/ide/pci/it821x.c 0 additions, 3 deletionsdrivers/ide/pci/it821x.c
- drivers/ide/pci/jmicron.c 0 additions, 3 deletionsdrivers/ide/pci/jmicron.c
- drivers/ide/pci/opti621.c 0 additions, 3 deletionsdrivers/ide/pci/opti621.c
- drivers/ide/pci/pdc202xx_new.c 0 additions, 2 deletionsdrivers/ide/pci/pdc202xx_new.c
- drivers/ide/pci/pdc202xx_old.c 0 additions, 2 deletionsdrivers/ide/pci/pdc202xx_old.c
- drivers/ide/pci/piix.c 0 additions, 3 deletionsdrivers/ide/pci/piix.c
- drivers/ide/pci/sc1200.c 0 additions, 3 deletionsdrivers/ide/pci/sc1200.c
- drivers/ide/pci/scc_pata.c 0 additions, 3 deletionsdrivers/ide/pci/scc_pata.c
Loading
Please register or sign in to comment