Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Supress RX_MAC interrupts regarding the FRAME_COU...
details: https://anonhg.NetBSD.org/src/rev/756d4bc4e8fe
branches: trunk
changeset: 526816:756d4bc4e8fe
user: matt <matt%NetBSD.org@localhost>
date: Sat May 11 20:53:52 2002 +0000
description:
Supress RX_MAC interrupts regarding the FRAME_COUNT register.
diffstat:
sys/dev/ic/gem.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (28 lines):
diff -r 788f855248ff -r 756d4bc4e8fe sys/dev/ic/gem.c
--- a/sys/dev/ic/gem.c Sat May 11 19:23:14 2002 +0000
+++ b/sys/dev/ic/gem.c Sat May 11 20:53:52 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gem.c,v 1.15 2002/05/11 00:36:02 matt Exp $ */
+/* $NetBSD: gem.c,v 1.16 2002/05/11 20:53:52 matt Exp $ */
/*
*
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.15 2002/05/11 00:36:02 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.16 2002/05/11 20:53:52 matt Exp $");
#include "bpfilter.h"
@@ -792,7 +792,8 @@
GEM_INTR_RX_TAG_ERR|GEM_INTR_PCS|
GEM_INTR_MAC_CONTROL|GEM_INTR_MIF|
GEM_INTR_BERR));
- bus_space_write_4(t, h, GEM_MAC_RX_MASK, 0); /* XXXX */
+ bus_space_write_4(t, h, GEM_MAC_RX_MASK,
+ ~(GEM_MAC_RX_DONE|GEM_MAC_RX_FRAME_CNT));
bus_space_write_4(t, h, GEM_MAC_TX_MASK, 0xffff); /* XXXX */
bus_space_write_4(t, h, GEM_MAC_CONTROL_MASK, 0); /* XXXX */
Home |
Main Index |
Thread Index |
Old Index