From e5d13e2f64904a3181c7656f9d0eb884bb994bb1 Mon Sep 17 00:00:00 2001 From: bellard Date: Wed, 23 Nov 2005 21:11:49 +0000 Subject: 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 --- hw/sun4u.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'hw/sun4u.c') diff --git a/hw/sun4u.c b/hw/sun4u.c index 51db1f9bda..571e2b3736 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]); } } -- cgit v1.2.3