Revision 02e2da45 hw/prep_pci.c
b/hw/prep_pci.c | ||
---|---|---|
136 | 136 |
int PPC_io_memory; |
137 | 137 |
|
138 | 138 |
s = qemu_mallocz(sizeof(PREPPCIState)); |
139 |
s->bus = pci_register_bus(prep_set_irq, prep_map_irq, pic, 0, 4); |
|
139 |
s->bus = pci_register_bus(NULL, "pci", |
|
140 |
prep_set_irq, prep_map_irq, pic, 0, 4); |
|
140 | 141 |
|
141 | 142 |
register_ioport_write(0xcf8, 4, 4, pci_prep_addr_writel, s); |
142 | 143 |
register_ioport_read(0xcf8, 4, 4, pci_prep_addr_readl, s); |
Also available in: Unified diff