amd74xx: use ide_pci_is_in_compatibility_mode()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:48 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:48 +0000 (23:22 +0100)
commit213e4b0a3483b8cc99c4578923b9899e84e086e0
treec927f74bd70d504e48521f27e45d2159eb0fc0eb
parentb75aa122edd91599e0cf2ae57a5de1e84d9895c2
amd74xx: use ide_pci_is_in_compatibility_mode()

Fix ->init_hwif to check if IDE PCI controller is in compatibility
mode instead of checking for hwif->irq == 0.

Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/amd74xx.c