[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbios
Subject:    [OpenBIOS] [commit] r1391 - trunk/openbios-devel/drivers
From:       repository service <svn () openbios ! org>
Date:       2016-02-25 23:00:16
Message-ID: E1aZ4tM-0007UG-So () mail ! coreboot ! org
[Download RAW message or body]

Author: mcayland
Date: Fri Feb 26 00:00:15 2016
New Revision: 1391
URL: http://tracker.coreboot.org/trac/openbios/changeset/1391

Log:
escc.c: add DBDMA interrupt properties

These are required for MacOS to locate the serial port. Also make sure we
add the 2nd integer to each interrupt in order to indicate level/edge
triggering.

Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>

Modified:
   trunk/openbios-devel/drivers/escc.c

Modified: trunk/openbios-devel/drivers/escc.c
==============================================================================
--- trunk/openbios-devel/drivers/escc.c	Fri Feb 26 00:00:11 2016	(r1390)
+++ trunk/openbios-devel/drivers/escc.c	Fri Feb 26 00:00:15 2016	(r1391)
@@ -473,10 +473,13 @@
             (char *)&props, 1 * sizeof(cell)));
 
     props[0] = (0x24) + index;
-    props[1] = 0x0;
-    props[2] = 0x0;
+    props[1] = 0x1;
+    props[2] = dbdma_offsets[index][0];
+    props[3] = 0x0;
+    props[4] = dbdma_offsets[index][1];
+    props[5] = 0x0;
     NEWWORLD(set_property(dnode, "interrupts",
-             (char *)&props, 3 * sizeof(cell)));
+             (char *)&props, 6 * sizeof(cell)));
 
     set_int_property(dnode, "slot-names", 0);
 

-- 
OpenBIOS                 http://openbios.org/
Mailinglist:  http://lists.openbios.org/mailman/listinfo
Free your System - May the Forth be with you
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic