[POWERPC] Revert chrp_pci_fixup_vt8231_ata devinit to fix libata on pegasos
authorOlaf Hering <olaf@aepfle.de>
Mon, 21 Jan 2008 09:39:30 +0000 (20:39 +1100)
committerPaul Mackerras <paulus@samba.org>
Fri, 25 Jan 2008 11:52:55 +0000 (22:52 +1100)
commit092ca5bd61da6344f3b249754b337f2d48dfe08d
treedefc2d0eb23adcb99e063e76a22b112817cb5d3b
parent3ca6644e5cc6ee7700b158fd5b4e8c48899118c6
[POWERPC] Revert chrp_pci_fixup_vt8231_ata devinit to fix libata on pegasos

Commit 6d98bda79bea0e1be26c0767d0e9923ad3b72f2e changed the init order
for chrp_pci_fixup_vt8231_ata().

It can not work anymore because either the irq is not yet set to 14 or
pci_get_device() returns nothing.  At least the printk() in
chrp_pci_fixup_vt8231_ata() does not trigger anymore.
pata_via works again on Pegasos with the change below.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/chrp/pci.c