]> Git Repo - qemu.git/commitdiff
ide: support PIO restart for the ISA controller
authorPaolo Bonzini <[email protected]>
Mon, 23 Feb 2015 16:18:02 +0000 (11:18 -0500)
committerKevin Wolf <[email protected]>
Tue, 10 Mar 2015 13:02:23 +0000 (14:02 +0100)
Signed-off-by: Paolo Bonzini <[email protected]>
Signed-off-by: John Snow <[email protected]>
Message-id: 1424708286[email protected]
Signed-off-by: Stefan Hajnoczi <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
hw/ide/isa.c

index c0c4e1b0981aed4aade4582bc16049a869577480..9f80503faae88c61b89ab9d04ab2c88a36117aac 100644 (file)
@@ -74,7 +74,8 @@ static void isa_ide_realizefn(DeviceState *dev, Error **errp)
     isa_init_irq(isadev, &s->irq, s->isairq);
     ide_init2(&s->bus, s->irq);
     vmstate_register(dev, 0, &vmstate_ide_isa, s);
-};
+    ide_register_restart_cb(&s->bus);
+}
 
 ISADevice *isa_ide_init(ISABus *bus, int iobase, int iobase2, int isairq,
                         DriveInfo *hd0, DriveInfo *hd1)
This page took 0.029039 seconds and 4 git commands to generate.