summaryrefslogtreecommitdiff
path: root/hw/ide/ioport.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ide/ioport.c')
-rw-r--r--hw/ide/ioport.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/ioport.c b/hw/ide/ioport.c
index ab1f4e5d9c..b613ff3bba 100644
--- a/hw/ide/ioport.c
+++ b/hw/ide/ioport.c
@@ -46,7 +46,7 @@ static const MemoryRegionPortio ide_portio_list[] = {
};
static const MemoryRegionPortio ide_portio2_list[] = {
- { 0, 1, 1, .read = ide_status_read, .write = ide_cmd_write },
+ { 0, 1, 1, .read = ide_status_read, .write = ide_ctrl_write },
PORTIO_END_OF_LIST(),
};