summaryrefslogtreecommitdiffstats
path: root/hw/ppc_chrp.c
diff options
context:
space:
mode:
authorbellard2005-11-23 22:11:49 +0100
committerbellard2005-11-23 22:11:49 +0100
commite5d13e2f64904a3181c7656f9d0eb884bb994bb1 (patch)
tree18330dd632de20b86719e39d92379a6e4e68c3a1 /hw/ppc_chrp.c
parentupdate (diff)
downloadqemu-e5d13e2f64904a3181c7656f9d0eb884bb994bb1.tar.gz
qemu-e5d13e2f64904a3181c7656f9d0eb884bb994bb1.tar.xz
qemu-e5d13e2f64904a3181c7656f9d0eb884bb994bb1.zip
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/ppc_chrp.c')
-rw-r--r--hw/ppc_chrp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc_chrp.c b/hw/ppc_chrp.c
index a0dfbf6b93..395dd7f73e 100644
--- a/hw/ppc_chrp.c
+++ b/hw/ppc_chrp.c
@@ -433,7 +433,7 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device,
isa_pic = pic_init(pic_irq_request, NULL);
/* XXX: use Mac Serial port */
- serial_init(0x3f8, 4, serial_hds[0]);
+ serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]);
for(i = 0; i < nb_nics; i++) {
pci_ne2000_init(pci_bus, &nd_table[i]);
@@ -482,7 +482,7 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device,
isa_pic = pic_init(pic_irq_request, NULL);
/* XXX: use Mac Serial port */
- serial_init(0x3f8, 4, serial_hds[0]);
+ serial_init(&pic_set_irq_new, isa_pic, 0x3f8, 4, serial_hds[0]);
for(i = 0; i < nb_nics; i++) {
pci_ne2000_init(pci_bus, &nd_table[i]);