atiixp.c: add cable detection support for ATI IDE
commite5c073ff24604d4dbb2fbcedb17da6df768468d3
authorConke Hu <conke.hu@amd.com>
Sat, 27 Jan 2007 12:46:40 +0000 (27 13:46 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 27 Jan 2007 12:46:40 +0000 (27 13:46 +0100)
treed5a35e31c96310c4f86afcd6e5ad96a5887d1d60
parentb25168dfdc162b4198fa6395cd191a20dddc6d34
atiixp.c: add cable detection support for ATI IDE

IDE HDD does not work if it uses a 40-pin PATA cable on ATI chipset.
This patch fixes the bug.

Signed-off-by: Conke Hu <conke.hu@amd.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Greg KH <greg@kroah.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/pci/atiixp.c