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> |
||
---|---|---|
.. | ||
Makefile | ||
ali14xx.c | ||
buddha.c | ||
dtc2278.c | ||
falconide.c | ||
gayle.c | ||
hd.c | ||
ht6560b.c | ||
ide-cs.c | ||
macide.c | ||
q40ide.c | ||
qd65xx.c | ||
qd65xx.h | ||
umc8672.c |