summary refs log tree commit diff stats
path: root/hw/ide/piix.c
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2010-06-14 10:33:36 -0500
committerAnthony Liguori <aliguori@us.ibm.com>2010-06-14 10:33:36 -0500
commita4673e276248ada38f40d39191a197e7e35d3f8b (patch)
tree4ecdac95fb7bb86eefc08ee38ca229c4d89e02e0 /hw/ide/piix.c
parenta2da0395c12bd2b26e2180d735c83988ff66a559 (diff)
parent653dbec7c97cb51d19636423902719e5850da265 (diff)
downloadfocaccia-qemu-a4673e276248ada38f40d39191a197e7e35d3f8b.tar.gz
focaccia-qemu-a4673e276248ada38f40d39191a197e7e35d3f8b.zip
Merge remote branch 'kwolf/for-anthony' into staging
Conflicts:
	hw/pc.c
Diffstat (limited to 'hw/ide/piix.c')
-rw-r--r--hw/ide/piix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index 4fa38519ef..dad6e86ff6 100644
--- a/hw/ide/piix.c
+++ b/hw/ide/piix.c
@@ -135,8 +135,8 @@ static int pci_piix_ide_initfn(PCIIDEState *d)
     ide_init_ioport(&d->bus[0], 0x1f0, 0x3f6);
     ide_init_ioport(&d->bus[1], 0x170, 0x376);
 
-    ide_init2(&d->bus[0], NULL, NULL, isa_reserve_irq(14));
-    ide_init2(&d->bus[1], NULL, NULL, isa_reserve_irq(15));
+    ide_init2(&d->bus[0], isa_reserve_irq(14));
+    ide_init2(&d->bus[1], isa_reserve_irq(15));
     return 0;
 }