From: Sergei Shtylyov Date: Sat, 3 Mar 2007 16:48:53 +0000 (+0100) Subject: ide: ide_get_best_pio_mode() returns incorrect IORDY setting (take 2) X-Git-Tag: v2.6.21-rc3~98^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81d368e0e2591497106b2543918c79dd6d78277b;p=pandora-kernel.git ide: ide_get_best_pio_mode() returns incorrect IORDY setting (take 2) The function ide_get_best_pio_mode() fails to return the correct IORDY setting for the explicitly specified modes -- fix this along with the heading comment, and also remove the long commented out code. Also, while at it, correct the misliading comment about the PIO cycle time in -- it actually consists of only the active and recovery periods, with only some chips also including the address setup time into equation... [ bart: sl82c105 seems to be currently the only driver affected by this fix ] Signed-off-by: Sergei Shtylyov Signed-off-by: Bartlomiej Zolnierkiewicz --- Reading git-diff-tree failed