summaryrefslogtreecommitdiffstats
path: root/drivers/ide/pci/opti621.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2007-07-20 01:11:57 +0200
committerBartlomiej Zolnierkiewicz2007-07-20 01:11:57 +0200
commite5fa4b2968ff0f32b5ecfa082fd6db50b731055e (patch)
tree096ecacb0c3b93c79f5a39899490acacbb2e11d7 /drivers/ide/pci/opti621.c
parentide: add ide_pio_cycle_time() helper (take 2) (diff)
downloadkernel-qcow2-linux-e5fa4b2968ff0f32b5ecfa082fd6db50b731055e.tar.gz
kernel-qcow2-linux-e5fa4b2968ff0f32b5ecfa082fd6db50b731055e.tar.xz
kernel-qcow2-linux-e5fa4b2968ff0f32b5ecfa082fd6db50b731055e.zip
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 <sshtylyov@ru.mvista.com> Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/opti621.c')
0 files changed, 0 insertions, 0 deletions