commit | e5fa4b2968ff0f32b5ecfa082fd6db50b731055e | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jul 20 01:11:57 2007 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Jul 20 01:11:57 2007 +0200 |
tree | 096ecacb0c3b93c79f5a39899490acacbb2e11d7 | |
parent | 7dd00083b1160b560fa2a0a486799b57baa5d035 [diff] |
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>