summaryrefslogtreecommitdiffstats
path: root/hw/cs4231a.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/cs4231a.c')
-rw-r--r--hw/cs4231a.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/cs4231a.c b/hw/cs4231a.c
index 4d5ce5c..598f032 100644
--- a/hw/cs4231a.c
+++ b/hw/cs4231a.c
@@ -645,6 +645,7 @@ static int cs4231a_initfn (ISADevice *dev)
isa_init_irq (dev, &s->pic, s->irq);
for (i = 0; i < 4; i++) {
+ isa_init_ioport(dev, i);
register_ioport_write (s->port + i, 1, 1, cs_write, s);
register_ioport_read (s->port + i, 1, 1, cs_read, s);
}
OpenPOWER on IntegriCloud