aboutsummaryrefslogtreecommitdiff
path: root/hw/pc.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-09-22 13:53:22 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:47 -0500
commit021f06745901acb7d09ac3aff4aea52495cae730 (patch)
tree441c80b118278998033a84fb81537cde71722495 /hw/pc.c
parent907265dbb67a3cd42f545bd2717c01b24146faba (diff)
parallel: convert isa to qdev
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index 7649547156..573ada6749 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -1340,8 +1340,7 @@ static void pc_init1(ram_addr_t ram_size,
for(i = 0; i < MAX_PARALLEL_PORTS; i++) {
if (parallel_hds[i]) {
- parallel_init(parallel_io[i], isa_reserve_irq(parallel_irq[i]),
- parallel_hds[i]);
+ parallel_init(i, parallel_hds[i]);
}
}