summaryrefslogtreecommitdiffstats
path: root/hw/ppc_chrp.c
diff options
context:
space:
mode:
authorbellard2004-08-24 23:13:40 +0200
committerbellard2004-08-24 23:13:40 +0200
commit8d11df9e5aa58497e27e3481cca119809c76afc6 (patch)
tree0e323c75b10f8deee83950b708cb42cb989ca6e2 /hw/ppc_chrp.c
parentupdate (diff)
downloadqemu-8d11df9e5aa58497e27e3481cca119809c76afc6.tar.gz
qemu-8d11df9e5aa58497e27e3481cca119809c76afc6.tar.xz
qemu-8d11df9e5aa58497e27e3481cca119809c76afc6.zip
multiple serial port support - terminal init fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1048 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_chrp.c')
-rw-r--r--hw/ppc_chrp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc_chrp.c b/hw/ppc_chrp.c
index f532fe1019..cf3a5f32fa 100644
--- a/hw/ppc_chrp.c
+++ b/hw/ppc_chrp.c
@@ -200,7 +200,7 @@ void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device,
pic_init();
/* XXX: use Mac Serial port */
- serial_init(0x3f8, 4, serial_hd);
+ serial_init(0x3f8, 4, serial_hds[0]);
for(i = 0; i < nb_nics; i++) {
pci_ne2000_init(pci_bus, &nd_table[i]);