mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
parallel: convert isa to qdev
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
907265dbb6
commit
021f067459
5 changed files with 57 additions and 14 deletions
3
hw/pc.c
3
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]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue