diff options
Diffstat (limited to 'hw/dp8393x.c')
-rw-r--r-- | hw/dp8393x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/dp8393x.c b/hw/dp8393x.c index cff84aa0a..f326a1007 100644 --- a/hw/dp8393x.c +++ b/hw/dp8393x.c @@ -897,6 +897,6 @@ void dp83932_init(NICInfo *nd, target_phys_addr_t base, int it_shift, qemu_register_reset(nic_reset, 0, s); nic_reset(s); - s->mmio_index = cpu_register_io_memory(0, dp8393x_read, dp8393x_write, s); + s->mmio_index = cpu_register_io_memory(dp8393x_read, dp8393x_write, s); cpu_register_physical_memory(base, 0x40 << it_shift, s->mmio_index); } |