[OpenBIOS] [PATCH 6/7] PPC: Set Uninorth interrupt numbers to new Qemu values
Alexander Graf
agraf at suse.de
Mon Feb 22 17:14:47 CET 2010
We changed the uninorth interrupt mapping to better reflect real
hardware. OpenBIOS obviously needs to know about that.
Signed-off-by: Alexander Graf <agraf at suse.de>
---
arch/ppc/qemu/init.c | 6 +++---
drivers/pci_database.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 2243f72..d66dab2 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -93,9 +93,9 @@ static const pci_arch_t known_arch[] = {
[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,
diff --git a/drivers/pci_database.c b/drivers/pci_database.c
index 56fd1bb..553f7de 100644
--- a/drivers/pci_database.c
+++ b/drivers/pci_database.c
@@ -289,7 +289,7 @@ static const pci_dev_t hbrg_devices[] = {
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,
--
1.6.0.2
More information about the OpenBIOS
mailing list