[OpenBIOS] [PATCH] Fix typo in escc interrupt patch

Alexander Graf agraf at suse.de
Sat Dec 19 00:58:35 CET 2009


I accidently set props[0] twice instead of going through
both elements.

Signed-off-by: Alexander Graf <agraf at suse.de>

Index: drivers/escc.c
===================================================================
--- drivers/escc.c	(revision 646)
+++ drivers/escc.c	(working copy)
@@ -418,8 +418,8 @@
     OLDWORLD(set_property(dnode, "AAPL,interrupts",
             (char *)&props, 1 * sizeof(cell)));
 
-    props[0] = 0;
     props[0] = (0x24) + offset;
+    props[1] = 0;
     NEWWORLD(set_property(dnode, "interrupts",
              (char *)&props, 2 * sizeof(cell)));
 



More information about the OpenBIOS mailing list