ide-timings: use ->pio_mode value to determine fastest PIO speed
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 19 Jan 2010 09:47:29 +0000 (01:47 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:47:29 +0000 (01:47 -0800)
Use the current PIO mode value instead of the physical maximum one
to determine the fastest allowed PIO for shared PIO/DMA timings.

Affected host drivers: amd74xx and via82cxxx.

[ Update comment to match -DaveM ]

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found