mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Fix wrong device_type for non-PCI bridge devices, like EBUS
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@675 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user