Revision 28c2c264 hw/usb-ohci.c
b/hw/usb-ohci.c | ||
---|---|---|
1732 | 1732 |
usb_ohci_init(&ohci->state, num_ports, devfn, ohci->pci_dev.irq[0], |
1733 | 1733 |
OHCI_TYPE_PCI, ohci->pci_dev.name, 0); |
1734 | 1734 |
|
1735 |
pci_register_io_region((struct PCIDevice *)ohci, 0, 256,
|
|
1735 |
pci_register_bar((struct PCIDevice *)ohci, 0, 256,
|
|
1736 | 1736 |
PCI_ADDRESS_SPACE_MEM, ohci_mapfunc); |
1737 | 1737 |
} |
1738 | 1738 |
|
Also available in: Unified diff