[OpenBIOS] [commit] r1228 - in trunk/openbios-devel: arch/ppc/qemu drivers

repository service svn at openbios.org
Tue Sep 3 01:36:45 CEST 2013


Author: afaerber
Date: Tue Sep  3 01:36:45 2013
New Revision: 1228
URL: http://tracker.coreboot.org/trac/openbios/changeset/1228

Log:
PPC: fix PReP PCI bus enumeration

This patch corrects the PCI configuration and data IO port addresses, along
with detection of the Raven PCI bridge. With this in place, we can now
enumerate a PReP PCI bus.

Reported-by: Hervé Poussineau <hpoussin at reactos.org>
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
Tested-by: Hervé Poussineau <hpoussin at reactos.org>
Signed-off-by: Andreas Färber <andreas.faerber at web.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	Tue Sep  3 01:24:56 2013	(r1227)
+++ trunk/openbios-devel/arch/ppc/qemu/init.c	Tue Sep  3 01:36:45 2013	(r1228)
@@ -95,8 +95,8 @@
         .name = "PREP",
         .vendor_id = PCI_VENDOR_ID_MOTOROLA,
         .device_id = PCI_DEVICE_ID_MOTOROLA_RAVEN,
-        .cfg_addr = 0x80800000,
-        .cfg_data = 0x800c0000,
+        .cfg_addr = 0x80000cf8,
+        .cfg_data = 0x80000cfc,
         .cfg_base = 0x80000000,
         .cfg_len = 0x00100000,
         .host_pci_base = 0x0,

Modified: trunk/openbios-devel/drivers/pci_database.c
==============================================================================
--- trunk/openbios-devel/drivers/pci_database.c	Tue Sep  3 01:24:56 2013	(r1227)
+++ trunk/openbios-devel/drivers/pci_database.c	Tue Sep  3 01:36:45 2013	(r1228)
@@ -336,7 +336,7 @@
     },
     {
         PCI_VENDOR_ID_MOTOROLA, PCI_DEVICE_ID_MOTOROLA_RAVEN, NULL,
-        "pci-bridge", "PREP Host PCI Bridge - Motorola Raven", NULL,
+        "pci", "PREP Host PCI Bridge - Motorola Raven", NULL,
         3, 2, 1,
         host_config_cb, NULL,
     },



More information about the OpenBIOS mailing list