mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 09:43:56 -06:00
parallel: Factor out common parallel_hds_isa_init()
Maintainers of affected machines cc'ed. Cc: Anthony Liguori <aliguori@amazon.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Aurelien Jarno <aurelien@aurel32.net> Cc: Leon Alrae <leon.alrae@imgtec.com> Cc: Blue Swirl <blauwirbel@gmail.com> Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
This commit is contained in:
parent
c6f10a5876
commit
07dc788054
6 changed files with 37 additions and 34 deletions
|
@ -851,12 +851,7 @@ static void sun4uv_init(MemoryRegion *address_space_mem,
|
|||
}
|
||||
|
||||
serial_hds_isa_init(isa_bus, MAX_SERIAL_PORTS);
|
||||
|
||||
for(i = 0; i < MAX_PARALLEL_PORTS; i++) {
|
||||
if (parallel_hds[i]) {
|
||||
parallel_init(isa_bus, i, parallel_hds[i]);
|
||||
}
|
||||
}
|
||||
parallel_hds_isa_init(isa_bus, MAX_PARALLEL_PORTS);
|
||||
|
||||
for(i = 0; i < nb_nics; i++)
|
||||
pci_nic_init_nofail(&nd_table[i], pci_bus, "ne2k_pci", NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue