aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-08-13 17:51:46 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-08-13 17:51:46 +0000
commit0c5b8d831d72c8393949dbba435073e3d9dcffe8 (patch)
treeac382af252728cc5bd5af335d58860d7573c7ad4 /hw
parentbc19fcaa1b6d2a89b96793c7e8890978fc477f51 (diff)
Unbreak Sparc64
EBus is a sort of ISA bus. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/sun4u.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 77164cacbe..bc832557dc 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -361,6 +361,8 @@ pci_ebus_init(PCIBus *bus, int devfn)
static void
pci_ebus_init1(PCIDevice *s)
{
+ isa_bus_new(&s->qdev);
+
pci_config_set_vendor_id(s->config, PCI_VENDOR_ID_SUN);
pci_config_set_device_id(s->config, PCI_DEVICE_ID_SUN_EBUS);
s->config[0x04] = 0x06; // command = bus master, pci mem