commit | 4660897e6c2daa198fc8e3f47ae2a4aef69c80b0 | [log] [tgz] |
---|---|---|
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sun Jul 08 15:21:58 2007 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Sun Jul 08 15:21:58 2007 +0200 |
tree | df3bf71f08234d6ae7d8a27ffb4eb79b028a91f4 | |
parent | 4c6c914e4c2e0f91775ce4051b5a800c55175462 [diff] |
qd65xx: fix PIO mode selection 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>