From a20a8cc176ad08f97c4afabbf7d834134e073dc4 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Sun, 7 Feb 2010 20:25:30 +0000 Subject: [PATCH] Fix wrong device_type for non-PCI bridge devices, like EBUS Signed-off-by: Blue Swirl git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@675 f158a5a8-5612-0410-a976-696ce0be7e32 --- drivers/pci_database.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/pci_database.c b/drivers/pci_database.c index 3341464..4682a12 100644 --- a/drivers/pci_database.c +++ b/drivers/pci_database.c @@ -362,7 +362,7 @@ static const pci_dev_t miscbrg_devices[] = { static const pci_subclass_t bridg_subclass[] = { { PCI_SUBCLASS_BRIDGE_HOST, "PCI host bridge", - NULL, hbrg_devices, NULL, + "pci", hbrg_devices, NULL, NULL, NULL, }, { @@ -382,7 +382,7 @@ static const pci_subclass_t bridg_subclass[] = { }, { PCI_SUBCLASS_BRIDGE_PCI, "PCI-to-PCI bridge", - NULL, PCIbrg_devices, NULL, + "pci", PCIbrg_devices, NULL, NULL, NULL, }, { @@ -1040,7 +1040,7 @@ static const pci_class_t pci_classes[] = { /* 0x05 */ { "memory controller", "memory-controller", mem_subclass, }, /* 0x06 */ - { "PCI bridge", "pci", bridg_subclass, }, + { "PCI bridge", NULL, bridg_subclass, }, /* 0x07 */ { "communication device", NULL, comm_subclass,}, /* 0x08 */