summaryrefslogtreecommitdiff
path: root/hw/empty_slot.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/empty_slot.c')
-rw-r--r--hw/empty_slot.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/empty_slot.c b/hw/empty_slot.c
index ac1f6ebbf..664b8d9c4 100644
--- a/hw/empty_slot.c
+++ b/hw/empty_slot.c
@@ -73,7 +73,8 @@ static int empty_slot_init1(SysBusDevice *dev)
ram_addr_t empty_slot_offset;
empty_slot_offset = cpu_register_io_memory(empty_slot_read,
- empty_slot_write, s);
+ empty_slot_write, s,
+ DEVICE_NATIVE_ENDIAN);
sysbus_init_mmio(dev, s->size, empty_slot_offset | IO_MEM_RAM);
return 0;
}