diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-08 09:21:58 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2007-07-08 09:21:58 -0400 |
commit | 4660897e6c2daa198fc8e3f47ae2a4aef69c80b0 (patch) | |
tree | df3bf71f08234d6ae7d8a27ffb4eb79b028a91f4 /arch | |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions