]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
opti621: program devices timings separately in ->set_pio_mode
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 15 Jun 2008 19:00:22 +0000 (21:00 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sun, 15 Jun 2008 19:00:22 +0000 (21:00 +0200)
commit6c987183fcc3c6cb9eb77fd0b3e8ca1ac98a4813
tree14176c7fdd1a0892f4bb593d64fd7cd9cac45aa4
parent21bd33a656a60daadc475ce330272f4410ae27b7
opti621: program devices timings separately in ->set_pio_mode

* Set drive->drive_data to 'pio + XFER_PIO_0' instead of 'pio',
  then simplify selecting maximum adress setup timing.

* Remove no longer needed compute_pios() and opti621_port_init_devs().

* Program devices timings separately in ->set_pio_mode.

Based on a bugreport from Juergen Kosel & inspired by pata_opti.c code.

Tested-by: Juergen Kosel <juergen.kosel@gmx.de>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/opti621.c