summaryrefslogtreecommitdiffstats
path: root/hw/alpha/dp264.c
diff options
context:
space:
mode:
authorMarc-André Lureau2016-10-22 11:52:44 +0200
committerPaolo Bonzini2016-10-24 15:27:20 +0200
commit4496dc49ec9a6e24e9eeb2da970ed0ec0051968e (patch)
tree02ea8e0a559ce61ec361838c2f7313531d3f4781 /hw/alpha/dp264.c
parentringbuf: fix chr_write return value (diff)
downloadqemu-4496dc49ec9a6e24e9eeb2da970ed0ec0051968e.tar.gz
qemu-4496dc49ec9a6e24e9eeb2da970ed0ec0051968e.tar.xz
qemu-4496dc49ec9a6e24e9eeb2da970ed0ec0051968e.zip
sun4uv: fix serial initialization regression
Since commit b6607a1a204d, serial_hds_isa_init() was introduced to factor out serial_isa_init() loops. However, sun4uv shouldn't start from 0 when there is a mm serial on 0 already. Add a "from" argument to serial_hds_isa_init(). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20161022095318.17775-5-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/alpha/dp264.c')
-rw-r--r--hw/alpha/dp264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/alpha/dp264.c b/hw/alpha/dp264.c
index f1267b5441..d6431fd586 100644
--- a/hw/alpha/dp264.c
+++ b/hw/alpha/dp264.c
@@ -88,7 +88,7 @@ static void clipper_init(MachineState *machine)
pci_vga_init(pci_bus);
/* Serial code setup. */
- serial_hds_isa_init(isa_bus, MAX_SERIAL_PORTS);
+ serial_hds_isa_init(isa_bus, 0, MAX_SERIAL_PORTS);
/* Network setup. e1000 is good enough, failing Tulip support. */
for (i = 0; i < nb_nics; i++) {