Revision 2507c12a hw/pcnet-pci.c
b/hw/pcnet-pci.c | ||
---|---|---|
294 | 294 |
|
295 | 295 |
/* Handler for memory-mapped I/O */ |
296 | 296 |
s->mmio_index = |
297 |
cpu_register_io_memory(pcnet_mmio_read, pcnet_mmio_write, &d->state); |
|
297 |
cpu_register_io_memory(pcnet_mmio_read, pcnet_mmio_write, &d->state, |
|
298 |
DEVICE_NATIVE_ENDIAN); |
|
298 | 299 |
|
299 | 300 |
pci_register_bar(pci_dev, 0, PCNET_IOPORT_SIZE, |
300 | 301 |
PCI_BASE_ADDRESS_SPACE_IO, pcnet_ioport_map); |
Also available in: Unified diff