alim15x3: backport short cables support from pata_ali.c
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 9 Jul 2007 21:17:58 +0000 (23:17 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 9 Jul 2007 21:17:58 +0000 (23:17 +0200)
commit95ba8c17bc57bf4666e9de2be715b69d9a1ba211
tree69a55e2ea0453369f5c743d59408513cfd627aa3
parent7207626f47a3d66ce361bad197eefca4b8a6fa17
alim15x3: backport short cables support from pata_ali.c

Backport short cables support from pata_ali.c and while at it cleanup
existing cable detection code.

This patch should allow UDMA > 2 modes on HP Pavilion N5430 and Fujitsu P2000.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
drivers/ide/pci/alim15x3.c