Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/rockchip IST_EDGE -> IST_LEVEL



details:   https://anonhg.NetBSD.org/src/rev/bb234454b7e1
branches:  trunk
changeset: 807102:bb234454b7e1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sat Mar 28 15:59:29 2015 +0000

description:
IST_EDGE -> IST_LEVEL

diffstat:

 sys/arch/arm/rockchip/obio_com.c |  8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 44679df3e520 -r bb234454b7e1 sys/arch/arm/rockchip/obio_com.c
--- a/sys/arch/arm/rockchip/obio_com.c  Sat Mar 28 14:50:20 2015 +0000
+++ b/sys/arch/arm/rockchip/obio_com.c  Sat Mar 28 15:59:29 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: obio_com.c,v 1.2 2014/12/26 19:44:48 jmcneill Exp $    */
+/*     $NetBSD: obio_com.c,v 1.3 2015/03/28 15:59:29 jmcneill Exp $    */
 
 /*     based on omap/obio_com.c        */
 
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.2 2014/12/26 19:44:48 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_com.c,v 1.3 2015/03/28 15:59:29 jmcneill Exp $");
 
 #include "opt_rockchip.h"
 /*#include "opt_com.h"*/
@@ -143,12 +143,10 @@
        com_attach_subr(sc);
        aprint_naive("\n");
 
-#if 1
        KASSERT(obio->obio_intr != OBIOCF_INTR_DEFAULT);
-       osc->sc_ih = intr_establish(obio->obio_intr, IPL_SERIAL, IST_EDGE,
+       osc->sc_ih = intr_establish(obio->obio_intr, IPL_SERIAL, IST_LEVEL,
                        comintr, sc);
        if (osc->sc_ih == NULL)
                panic("%s: failed to establish interrup %d",
                    device_xname(self), obio->obio_intr);
-#endif
 }



Home | Main Index | Thread Index | Old Index