siimage: use ->pio_mode value to determine pair device speed
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 07:22:16 +0000 (07:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:52:35 +0000 (01:52 -0800)
commitbb430611930c526ff9bca991f254b259fc58ed3c
tree0b97d8f90575b5abad3cfdf85632f0a0d6c2944e
parent0716302eec10c3a4c3c5110e43a5ac05ac4b2445
siimage: use ->pio_mode value to determine pair device speed

Use the current PIO mode value instead of the physical maximum one
of the pair device on the port to determine PIO commmand timings used
for both devices on the port.

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