]> git.baikalelectronics.ru Git - kernel.git/commit
opti621: use pre-calculated PIO timings
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)
commit537ba4f0547b9991a0ad163fe292e305a15feb13
tree698d7e2c96fe1b54cb36b1dc3c25ddd9cb21287f
parent64b14174bbeee0bce6ed2a9e0757663fd8cfc339
opti621: use pre-calculated PIO timings

* Use pre-calculated PIO timings in ->set_pio_mode.

* Remove no longer needed compute_clocks(), cmpt_clk(), struct pio_clocks_s,
  PIO_* defines and OPTI621_DEBUG define.

There should be no functional changes caused by this patch.

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