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/96eb2a87eece
branches:  trunk
changeset: 953264:96eb2a87eece
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 941f3b7c5c05 -r 96eb2a87eece 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