summaryrefslogtreecommitdiffstats
path: root/hw/ide.h
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2009-08-28 19:37:00 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-04 09:37:34 -0500
commitae027ad3c5ea9a041f46c22bcb52e879645ed171 (patch)
tree2f9f29d214f4dc62cd0dccbc87ef74d6ea622fb7 /hw/ide.h
parent7b8c51add768584118a14d84f799e73ab1ec988b (diff)
downloadhqemu-ae027ad3c5ea9a041f46c22bcb52e879645ed171.zip
hqemu-ae027ad3c5ea9a041f46c22bcb52e879645ed171.tar.gz
mips malta: Fix fdc regression and use qdev for i8042 setup
8baf73adf664e79eae201c3f618078a220a661d9 (qdev/isa: convert fdc) breaks MIPS Malta: Tried to create isa device isa-fdc with no isa bus present Fix this by creating an isa bus for piix4. This change also requires some more qdev related changes (similar changes were applied to pc.c) and allows cleaning of piix3/piix4 code. Thanks to Gerd Hoffmann for his hints. Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide.h')
-rw-r--r--hw/ide.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/hw/ide.h b/hw/ide.h
index 08bebb4..e0a508b 100644
--- a/hw/ide.h
+++ b/hw/ide.h
@@ -10,10 +10,8 @@ void isa_ide_init(int iobase, int iobase2, qemu_irq irq,
/* ide-pci.c */
void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
int secondary_ide_enabled);
-void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn,
- qemu_irq *pic);
-void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn,
- qemu_irq *pic);
+void pci_piix3_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
+void pci_piix4_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn);
/* ide-macio.c */
int pmac_ide_init (DriveInfo **hd_table, qemu_irq irq,
OpenPOWER on IntegriCloud