diff options
author | Jason Wright <jason@cvs.openbsd.org> | 1998-10-09 02:29:04 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 1998-10-09 02:29:04 +0000 |
commit | d0d6154afec3b1fb01e11ae3a2a4ff2c6bac8253 (patch) | |
tree | cc1012c744f8f6c706c0d98917fab6e4f5615467 /sys | |
parent | b80df668c887ff7e0ba795d4fbba3d261b21ca27 (diff) |
Turn off all "counter expired" interrupts (missed defer-counter expired counter)
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc/dev/be.c | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/sys/arch/sparc/dev/be.c b/sys/arch/sparc/dev/be.c index 5f491b2cc94..9c51c7d8b70 100644 --- a/sys/arch/sparc/dev/be.c +++ b/sys/arch/sparc/dev/be.c @@ -1,4 +1,4 @@ -/* $OpenBSD: be.c,v 1.14 1998/10/02 17:42:23 jason Exp $ */ +/* $OpenBSD: be.c,v 1.15 1998/10/09 02:29:03 jason Exp $ */ /* * Copyright (c) 1998 Theo de Raadt and Jason L. Wright. @@ -469,10 +469,6 @@ beeint(sc, why) rst = 1; printf("%s: max packet size error\n", sc->sc_dev.dv_xname); } - if (why & BE_BR_STAT_DTIMEXP) { - r |= 1; - printf("%s: defer timer expired\n", sc->sc_dev.dv_xname); - } if (!r) { rst = 1; @@ -777,18 +773,18 @@ beinit(sc) * Turn off counter expiration interrupts as well as * 'gotframe' and 'sentframe' */ - sc->sc_br->imask = BE_BR_IMASK_GOTFRAME | - BE_BR_IMASK_RCNTEXP | - BE_BR_IMASK_ACNTEXP | - BE_BR_IMASK_CCNTEXP | - BE_BR_IMASK_LCNTEXP | - BE_BR_IMASK_CVCNTEXP | - BE_BR_IMASK_NCNTEXP | - BE_BR_IMASK_ECNTEXP | - BE_BR_IMASK_LCCNTEXP | - BE_BR_IMASK_LCNTEXP | - BE_BR_IMASK_LCNTEXP | - BE_BR_IMASK_SENTFRAME; + sc->sc_br->imask = BE_BR_IMASK_GOTFRAME | + BE_BR_IMASK_RCNTEXP | + BE_BR_IMASK_ACNTEXP | + BE_BR_IMASK_CCNTEXP | + BE_BR_IMASK_LCNTEXP | + BE_BR_IMASK_CVCNTEXP | + BE_BR_IMASK_SENTFRAME| + BE_BR_IMASK_NCNTEXP | + BE_BR_IMASK_ECNTEXP | + BE_BR_IMASK_LCCNTEXP | + BE_BR_IMASK_FCNTEXP | + BE_BR_IMASK_DTIMEXP; sc->sc_cr->rimask = 0; sc->sc_cr->timask = 0; |