palm_bk3710: use ->pio_mode value to determine pair device speed
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 18 Jan 2010 07:22:09 +0000 (07:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jan 2010 09:52:34 +0000 (01:52 -0800)
commit0716302eec10c3a4c3c5110e43a5ac05ac4b2445
tree94e4d09b673255d17a0b3a842bbcd4fd5de8b63e
parentf657911d73f5165c4a32627adbbd7fcf98a85eae
palm_bk3710: 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/palm_bk3710.c