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/e88dbb30cc66
branches: trunk
changeset: 1019236:e88dbb30cc66
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 646edf4f57ec -r e88dbb30cc66 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