diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-22 21:46:32 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2009-03-22 21:46:32 +0000 |
commit | e99416eaab79d47df5693337d004ed01348b6214 (patch) | |
tree | 91e39567bd8bd50a57b799609640f69e44496cda /sys/dev/ic/gemreg.h | |
parent | 0ec6f45eff20dea0077e4a95d84045dda0dd3399 (diff) |
Add workaround for RX MAC/FIFO hangs on ERI. Tested by matthieu@ and naddy@.
ok dlg@
Diffstat (limited to 'sys/dev/ic/gemreg.h')
-rw-r--r-- | sys/dev/ic/gemreg.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/ic/gemreg.h b/sys/dev/ic/gemreg.h index 488a0fd3bce..b837265904a 100644 --- a/sys/dev/ic/gemreg.h +++ b/sys/dev/ic/gemreg.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gemreg.h,v 1.15 2008/11/07 17:44:14 brad Exp $ */ +/* $OpenBSD: gemreg.h,v 1.16 2009/03/22 21:46:31 kettenis Exp $ */ /* $NetBSD: gemreg.h,v 1.1 2001/09/16 00:11:43 eeh Exp $ */ /* @@ -375,6 +375,9 @@ #define GEM_MAC_CC_RX_PAUSE 0x00000002 /* receive pause enabled */ #define GEM_MAC_CC_PASS_PAUSE 0x00000004 /* pass pause up */ +/* GEM_MAC_MAC_STATE register bits */ +#define GEM_MAC_STATE_OVERFLOW 0x03800000 + /* GEM MIF registers */ /* Bit bang registers use low bit only */ #define GEM_MIF_BB_CLOCK 0x6200 /* bit bang clock */ |