]> Git Repo - qemu.git/blobdiff - hw/cs4231a.c
Keep track of ISA ports ISA device is using in qdev.
[qemu.git] / hw / cs4231a.c
index 4d5ce5c2779aea47598ece1da88474451dc0c98f..598f0322d9b4325813f262b3e222a933d8145417 100644 (file)
@@ -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);
     }
This page took 0.023206 seconds and 4 git commands to generate.