Bartlomiej Zolnierkiewicz e5fa4b2968 ide: ide_find_best_pio_mode() fixes (take 2)
* Check IORDY bit for PIO modes > 2.

* Some devices claim maximum PIO mode > 2 in id->tPIO, they were punished too
  severly for this by being limited to PIO_SLOW.  Limit them to PIO2 instead.

v2:
* Fix PIO number being returned incorrectly instead of PIO mode
  (Noticed by Sergei).

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2007-07-20 01:11:57 +02:00
..
2007-07-19 10:04:42 -07:00
2007-07-18 02:13:42 -07:00
2007-07-19 10:04:53 -07:00
2007-07-16 09:05:40 -07:00
2007-07-16 09:05:42 -07:00
2007-07-12 16:34:30 -07:00
2007-07-19 14:37:05 -07:00
2007-07-19 10:04:52 -07:00
2007-07-17 10:23:06 -07:00
2007-07-18 16:59:17 +03:00
2007-07-18 08:38:22 -07:00
2007-07-18 15:57:16 -07:00
2007-07-19 10:04:52 -07:00
2007-07-19 10:04:52 -07:00