Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbppc/explora/dev Stop registering same function t...



details:   https://anonhg.NetBSD.org/src/rev/4a0d41c4c694
branches:  trunk
changeset: 959977:4a0d41c4c694
user:      rin <rin%NetBSD.org@localhost>
date:      Tue Mar 02 11:59:49 2021 +0000

description:
Stop registering same function twice, i.e., for pckbd(4) and pms(4),
via intr_establish().

diffstat:

 sys/arch/evbppc/explora/dev/pckbc_elb.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r 39e9e201d6a5 -r 4a0d41c4c694 sys/arch/evbppc/explora/dev/pckbc_elb.c
--- a/sys/arch/evbppc/explora/dev/pckbc_elb.c   Tue Mar 02 11:51:00 2021 +0000
+++ b/sys/arch/evbppc/explora/dev/pckbc_elb.c   Tue Mar 02 11:59:49 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pckbc_elb.c,v 1.8 2020/11/21 15:42:20 thorpej Exp $    */
+/*     $NetBSD: pckbc_elb.c,v 1.9 2021/03/02 11:59:49 rin Exp $        */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pckbc_elb.c,v 1.8 2020/11/21 15:42:20 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pckbc_elb.c,v 1.9 2021/03/02 11:59:49 rin Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -118,5 +118,5 @@
        if (irq >= 0)
                intr_establish(irq, IST_LEVEL, IPL_SERIAL, pckbcintr, sc);
 
-       irq = -1;
+       msc->sc_irq = -1;
 }



Home | Main Index | Thread Index | Old Index