mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
remove DEC 21154 PCI bridge
Code has not been used practically since its inception (2004)
f2aa58c6f4
UniNorth PCI bridge support
or maybe even earlier, but it was consuming contributors time
as QEMU was being rewritten.
Drop it for now. Whomever would like to actually
use the thing, can make sure it actually works/reintroduce
it back when there is a user.
PS:
I've stumbled upon this when replacing PCIDeviceClass::is_bridge
field with QOM cast to PCI_BRIDGE type. Unused DEC 21154
was the only one trying to use the field with plain PCIDevice.
It's not worth keeping the field around for the sake of the code
that was commented out 'forever'.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20221129101341.185621-2-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
345cc1cbcb
commit
b1fbf24259
5 changed files with 4 additions and 181 deletions
|
@ -128,11 +128,10 @@ static void pci_unin_main_realize(DeviceState *dev, Error **errp)
|
|||
|
||||
pci_create_simple(h->bus, PCI_DEVFN(11, 0), "uni-north-pci");
|
||||
|
||||
/* DEC 21154 bridge */
|
||||
#if 0
|
||||
/* XXX: not activated as PPC BIOS doesn't handle multiple buses properly */
|
||||
pci_create_simple(h->bus, PCI_DEVFN(12, 0), "dec-21154");
|
||||
#endif
|
||||
/*
|
||||
* DEC 21154 bridge was unused for many years, this comment is
|
||||
* a placeholder for whoever wishes to resurrect it
|
||||
*/
|
||||
}
|
||||
|
||||
static void pci_unin_main_init(Object *obj)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue