aboutsummaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 21:11:49 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-23 21:11:49 +0000
commite5d13e2f64904a3181c7656f9d0eb884bb994bb1 (patch)
tree18330dd632de20b86719e39d92379a6e4e68c3a1 /hw/sun4u.c
parent2023a2c836ed0a5af990ddbc927e0ea7fdc317d0 (diff)
downloadqemu-e5d13e2f64904a3181c7656f9d0eb884bb994bb1.zip
qemu-e5d13e2f64904a3181c7656f9d0eb884bb994bb1.tar.gz
qemu-e5d13e2f64904a3181c7656f9d0eb884bb994bb1.tar.bz2
more generic serial port (initial patch by Jocelyn Mayer)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1654 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 51db1f9..571e2b3 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -335,7 +335,8 @@ static void sun4u_init(int ram_size, int vga_ram_size, int boot_device,
for(i = 0; i < MAX_SERIAL_PORTS; i++) {
if (serial_hds[i]) {
- serial_init(serial_io[i], serial_irq[i], serial_hds[i]);
+ serial_init(&pic_set_irq_new, NULL,
+ serial_io[i], serial_irq[i], serial_hds[i]);
}
}