projects
/
qemu
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of /home/nchip/public_html/qemu into garage-push
[qemu]
/
hw
/
piix_pci.c
diff --git
a/hw/piix_pci.c
b/hw/piix_pci.c
index
2b19cc6
..
914a65a
100644
(file)
--- a/
hw/piix_pci.c
+++ b/
hw/piix_pci.c
@@
-176,7
+176,8
@@
PCIBus *i440fx_init(PCIDevice **pi440fx_state, qemu_irq *pic)
I440FXState *s;
s = qemu_mallocz(sizeof(I440FXState));
I440FXState *s;
s = qemu_mallocz(sizeof(I440FXState));
- b = pci_register_bus(piix3_set_irq, pci_slot_get_pirq, pic, 0, 4);
+ b = pci_register_bus(NULL, "pci",
+ piix3_set_irq, pci_slot_get_pirq, pic, 0, 4);
s->bus = b;
register_ioport_write(0xcf8, 4, 4, i440fx_addr_writel, s);
s->bus = b;
register_ioport_write(0xcf8, 4, 4, i440fx_addr_writel, s);