qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6290] sun4c/sun4d: also swap the CharDriverState of escc_i


From: Aurelien Jarno
Subject: [Qemu-devel] [6290] sun4c/sun4d: also swap the CharDriverState of escc_init()
Date: Tue, 13 Jan 2009 20:08:44 +0000

Revision: 6290
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6290
Author:   aurel32
Date:     2009-01-13 20:08:43 +0000 (Tue, 13 Jan 2009)

Log Message:
-----------
sun4c/sun4d: also swap the CharDriverState of escc_init()

Forgotten in r6284

Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/hw/sun4m.c

Modified: trunk/hw/sun4m.c
===================================================================
--- trunk/hw/sun4m.c    2009-01-13 20:06:26 UTC (rev 6289)
+++ trunk/hw/sun4m.c    2009-01-13 20:08:43 UTC (rev 6290)
@@ -548,8 +548,8 @@
                               nographic, ESCC_CLOCK, 1);
     // Slavio TTYA (base+4, Linux ttyS0) is the first Qemu serial device
     // Slavio TTYB (base+0, Linux ttyS1) is the second Qemu serial device
-    escc_init(hwdef->serial_base, slavio_irq[hwdef->ser_irq], serial_hds[1],
-              serial_hds[0], ESCC_CLOCK, 1);
+    escc_init(hwdef->serial_base, slavio_irq[hwdef->ser_irq], serial_hds[0],
+              serial_hds[1], ESCC_CLOCK, 1);
 
     cpu_halt = qemu_allocate_irqs(cpu_halt_signal, NULL, 1);
     slavio_misc = slavio_misc_init(hwdef->slavio_base, hwdef->apc_base,
@@ -1331,8 +1331,8 @@
                               nographic, ESCC_CLOCK, 1);
     // Slavio TTYA (base+4, Linux ttyS0) is the first Qemu serial device
     // Slavio TTYB (base+0, Linux ttyS1) is the second Qemu serial device
-    escc_init(hwdef->serial_base, sbi_irq[hwdef->ser_irq], serial_hds[1],
-              serial_hds[0], ESCC_CLOCK, 1);
+    escc_init(hwdef->serial_base, sbi_irq[hwdef->ser_irq], serial_hds[0],
+              serial_hds[1], ESCC_CLOCK, 1);
 
     if (drive_get_max_bus(IF_SCSI) > 0) {
         fprintf(stderr, "qemu: too many SCSI bus\n");






reply via email to

[Prev in Thread] Current Thread [Next in Thread]