diff options
author | Jason Wright <jason@cvs.openbsd.org> | 2003-02-01 06:00:11 +0000 |
---|---|---|
committer | Jason Wright <jason@cvs.openbsd.org> | 2003-02-01 06:00:11 +0000 |
commit | 892b11073f15119bfd28d32860273d8d338dc0f3 (patch) | |
tree | 66ea2e3296b037771f2be9966d77261fedcd5b04 /sys/dev/ic/hme.c | |
parent | e4d76496ee74118a3dba37ba4ddc56b2a74c153e (diff) |
Look, noone cares if you run of out rx descriptors and whining about it just makes the situation worse.
Diffstat (limited to 'sys/dev/ic/hme.c')
-rw-r--r-- | sys/dev/ic/hme.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/hme.c b/sys/dev/ic/hme.c index c8210d5fdb0..4bb859d7667 100644 --- a/sys/dev/ic/hme.c +++ b/sys/dev/ic/hme.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hme.c,v 1.23 2002/11/26 01:08:18 fgsch Exp $ */ +/* $OpenBSD: hme.c,v 1.24 2003/02/01 06:00:10 jason Exp $ */ /* $NetBSD: hme.c,v 1.21 2001/07/07 15:59:37 thorpej Exp $ */ /*- @@ -812,6 +812,11 @@ hme_eint(sc, status) status &= ~HME_SEB_STAT_DTIMEXP; } + if (status & HME_SEB_STAT_NORXD) { + ifp->if_ierrors++; + status &= ~HME_SEB_STAT_NORXD; + } + if (status == 0) return (1); |