Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/sbus Handle STP4020_ISR0_SCINT (status change interr...
details: https://anonhg.NetBSD.org/src/rev/c4d75a9ac4db
branches: trunk
changeset: 566718:c4d75a9ac4db
user: martin <martin%NetBSD.org@localhost>
date: Tue May 18 06:20:28 2004 +0000
description:
Handle STP4020_ISR0_SCINT (status change interrupt posted) - by ignoring
it.
diffstat:
sys/dev/sbus/stp4020.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (30 lines):
diff -r be7bdb598ce8 -r c4d75a9ac4db sys/dev/sbus/stp4020.c
--- a/sys/dev/sbus/stp4020.c Tue May 18 05:39:27 2004 +0000
+++ b/sys/dev/sbus/stp4020.c Tue May 18 06:20:28 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: stp4020.c,v 1.35 2003/12/23 13:46:18 martin Exp $ */
+/* $NetBSD: stp4020.c,v 1.36 2004/05/18 06:20:28 martin Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.35 2003/12/23 13:46:18 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: stp4020.c,v 1.36 2004/05/18 06:20:28 martin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -753,6 +753,11 @@
r = 1;
}
+ if ((v & STP4020_ISR0_SCINT) != 0) {
+ DPRINTF(("stp4020[%d]: status change\n", h->sock));
+ r = 1;
+ }
+
if ((v & STP4020_ISR0_RDYCHG) != 0) {
DPRINTF(("stp4020[%d]: Ready/Busy change\n", h->sock));
r = 1;
Home |
Main Index |
Thread Index |
Old Index