Bartlomiej Zolnierkiewicz 4660897e6c qd65xx: fix PIO mode selection
PIO4 is a maximum PIO mode supported by a driver.  Using "255" as a max_mode
argument to ide_get_best_pio_mode() could result in wrong timings being used
by a driver (for "pio" equal to 5) or OOPS (for "pio" values > 5 && < 255).

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Reviewed-by: Alan Cox <alan@lxorguk.ukuu.org.uk>
2007-07-08 15:21:58 +02:00
..
2007-05-16 00:51:43 +02:00
2007-07-08 15:21:58 +02:00
2007-05-10 00:01:11 +02:00
2007-07-08 15:21:58 +02:00
2007-05-10 00:01:11 +02:00
2007-06-08 15:14:30 +02:00
2007-05-10 00:01:10 +02:00
2007-05-16 00:51:46 +02:00
2007-07-03 22:28:35 +02:00
2007-06-16 02:24:43 +02:00
2007-05-16 00:51:46 +02:00