From: Bartlomiej Zolnierkiewicz Date: Thu, 19 Jul 2007 23:11:57 +0000 (+0200) Subject: ide: ide_find_best_pio_mode() fixes (take 2) X-Git-Tag: v2.6.23-rc1~248^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5fa4b2968ff0f32b5ecfa082fd6db50b731055e;p=pandora-kernel.git 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 Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed