Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Fix initialization of GEM_RX_MAC_INTR. 1 means m...
details: https://anonhg.NetBSD.org/src/rev/eb837adf89f7
branches: trunk
changeset: 526965:eb837adf89f7
user: matt <matt%NetBSD.org@localhost>
date: Tue May 14 23:33:41 2002 +0000
description:
Fix initialization of GEM_RX_MAC_INTR. 1 means mask.
diffstat:
sys/dev/ic/gem.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 4ffa20cbab4d -r eb837adf89f7 sys/dev/ic/gem.c
--- a/sys/dev/ic/gem.c Tue May 14 23:33:07 2002 +0000
+++ b/sys/dev/ic/gem.c Tue May 14 23:33:41 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: gem.c,v 1.16 2002/05/11 20:53:52 matt Exp $ */
+/* $NetBSD: gem.c,v 1.17 2002/05/14 23:33:41 matt Exp $ */
/*
*
@@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.16 2002/05/11 20:53:52 matt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: gem.c,v 1.17 2002/05/14 23:33:41 matt Exp $");
#include "bpfilter.h"
@@ -793,7 +793,7 @@
GEM_INTR_MAC_CONTROL|GEM_INTR_MIF|
GEM_INTR_BERR));
bus_space_write_4(t, h, GEM_MAC_RX_MASK,
- ~(GEM_MAC_RX_DONE|GEM_MAC_RX_FRAME_CNT));
+ 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