summaryrefslogtreecommitdiff
path: root/sys/dev/ic/dcreg.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2004-10-14 15:36:04 +0000
committerBrad Smith <brad@cvs.openbsd.org>2004-10-14 15:36:04 +0000
commite814ad856741cc18c8b9bf4d501a6ed64565c7ab (patch)
tree039dd88ca938b66dea5b2529e60886fe9eddcd3c /sys/dev/ic/dcreg.h
parent4515eb88c089111edf2ffba839ccd08b6db75b87 (diff)
constants for TX underrun handling
Diffstat (limited to 'sys/dev/ic/dcreg.h')
-rw-r--r--sys/dev/ic/dcreg.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/dcreg.h b/sys/dev/ic/dcreg.h
index 78d3f37913f..fa7c98bbe88 100644
--- a/sys/dev/ic/dcreg.h
+++ b/sys/dev/ic/dcreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dcreg.h,v 1.36 2004/09/28 16:58:56 brad Exp $ */
+/* $OpenBSD: dcreg.h,v 1.37 2004/10/14 15:36:03 brad Exp $ */
/*
* Copyright (c) 1997, 1998, 1999
@@ -235,11 +235,16 @@
#define DC_OPMODE_INTLOOP 0x00000400
#define DC_OPMODE_EXTLOOP 0x00000800
+#if 0
#define DC_TXTHRESH_72BYTES 0x00000000
#define DC_TXTHRESH_96BYTES 0x00004000
#define DC_TXTHRESH_128BYTES 0x00008000
#define DC_TXTHRESH_160BYTES 0x0000C000
+#endif
+#define DC_TXTHRESH_MIN 0x00000000
+#define DC_TXTHRESH_INC 0x00004000
+#define DC_TXTHRESH_MAX 0x0000C000
/*
* Interrupt mask bits.