Handle STP4020_ISR0_SCINT (status change interrupt posted) - by ignoring
it.
This commit is contained in:
parent
52fe589e88
commit
804267781d
|
@ -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 @@ stp4020_intr(arg)
|
|||
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;
|
||||
|
|
Loading…
Reference in New Issue