Author: agraf Date: Mon Feb 22 19:52:32 2010 New Revision: 682 URL: http://tracker.coreboot.org/trac/openbios/changeset/682
Log: PPC: Set Uninorth interrupt numbers to new Qemu values
We changed the uninorth interrupt mapping to better reflect real hardware. OpenBIOS obviously needs to know about that.
Signed-off-by: Alexander Graf agraf@suse.de
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c trunk/openbios-devel/drivers/pci_database.c
Modified: trunk/openbios-devel/arch/ppc/qemu/init.c ============================================================================== --- trunk/openbios-devel/arch/ppc/qemu/init.c Mon Feb 22 19:52:30 2010 (r681) +++ trunk/openbios-devel/arch/ppc/qemu/init.c Mon Feb 22 19:52:32 2010 (r682) @@ -93,9 +93,9 @@ [ARCH_MAC99] = { "MAC99", PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_PCI, 0xf2800000, 0xf2c00000, - 0xf2000000, 0x02000000, 0x80000000, 0x10000000, - 0xf2000000, 0x00800000, 0x00000000, 0x01000000, - { 8, 9, 10, 11 } + 0xf2000000, 0x02000000, 0x80000000, 0x10000000, + 0xf2000000, 0x00800000, 0x00000000, 0x01000000, + { 0x1b, 0x1c, 0x1d, 0x1e } }, [ARCH_MAC99_U3] = { "MAC99_U3", PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_U3_AGP,
Modified: trunk/openbios-devel/drivers/pci_database.c ============================================================================== --- trunk/openbios-devel/drivers/pci_database.c Mon Feb 22 19:52:30 2010 (r681) +++ trunk/openbios-devel/drivers/pci_database.c Mon Feb 22 19:52:32 2010 (r682) @@ -289,7 +289,7 @@ PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_AGP, NULL, "pci", "AAPL,UniNorth", "uni-north\0", 3, 2, 1, - NULL, NULL + host_config_cb, NULL, }, { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_UNI_N_PCI, NULL,