Revision 2507c12a hw/dp8393x.c
b/hw/dp8393x.c | ||
---|---|---|
908 | 908 |
qemu_register_reset(nic_reset, s); |
909 | 909 |
nic_reset(s); |
910 | 910 |
|
911 |
s->mmio_index = cpu_register_io_memory(dp8393x_read, dp8393x_write, s); |
|
911 |
s->mmio_index = cpu_register_io_memory(dp8393x_read, dp8393x_write, s, |
|
912 |
DEVICE_NATIVE_ENDIAN); |
|
912 | 913 |
cpu_register_physical_memory(base, 0x40 << it_shift, s->mmio_index); |
913 | 914 |
} |
Also available in: Unified diff