Revision 28c2c264 hw/usb-uhci.c
b/hw/usb-uhci.c | ||
---|---|---|
1097 | 1097 |
|
1098 | 1098 |
/* Use region 4 for consistency with real hardware. BSD guests seem |
1099 | 1099 |
to rely on this. */ |
1100 |
pci_register_io_region(&s->dev, 4, 0x20,
|
|
1100 |
pci_register_bar(&s->dev, 4, 0x20,
|
|
1101 | 1101 |
PCI_ADDRESS_SPACE_IO, uhci_map); |
1102 | 1102 |
|
1103 | 1103 |
register_savevm("uhci", 0, 1, uhci_save, uhci_load, s); |
... | ... | |
1131 | 1131 |
|
1132 | 1132 |
/* Use region 4 for consistency with real hardware. BSD guests seem |
1133 | 1133 |
to rely on this. */ |
1134 |
pci_register_io_region(&s->dev, 4, 0x20,
|
|
1134 |
pci_register_bar(&s->dev, 4, 0x20,
|
|
1135 | 1135 |
PCI_ADDRESS_SPACE_IO, uhci_map); |
1136 | 1136 |
|
1137 | 1137 |
register_savevm("uhci", 0, 1, uhci_save, uhci_load, s); |
Also available in: Unified diff