Module Name: src
Committed By: jmcneill
Date: Wed Apr 19 02:21:53 UTC 2017
Modified Files:
src/sys/dev/ic: rtl81x9reg.h
Log Message:
Fix value for RE_TDESC_CMD_LGSEND_V6 (currently unused)
To generate a diff of this commit:
cvs rdiff -u -r1.48 -r1.49 src/sys/dev/ic/rtl81x9reg.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/ic/rtl81x9reg.h
diff -u src/sys/dev/ic/rtl81x9reg.h:1.48 src/sys/dev/ic/rtl81x9reg.h:1.49
--- src/sys/dev/ic/rtl81x9reg.h:1.48 Wed Apr 19 00:20:02 2017
+++ src/sys/dev/ic/rtl81x9reg.h Wed Apr 19 02:21:53 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9reg.h,v 1.48 2017/04/19 00:20:02 jmcneill Exp $ */
+/* $NetBSD: rtl81x9reg.h,v 1.49 2017/04/19 02:21:53 jmcneill Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -509,8 +509,10 @@ struct re_desc {
#define RE_TDESC_CMD_SOF 0x20000000 /* start of frame marker */
#define RE_TDESC_CMD_EOR 0x40000000 /* end of ring marker */
#define RE_TDESC_CMD_OWN 0x80000000 /* chip owns descriptor */
+#define RE_TDESC_CMD_LGTCPHO 0x01fc0000 /* DESCV2 TCP hdr off lg send */
+#define RE_TDESC_CMD_LGTCPHO_SHIFT 18
#define RE_TDESC_CMD_LGSEND_V4 0x04000000 /* DESCV2 TCPv4 large send en */
-#define RE_TDESC_CMD_LGSEND_V6 0x08000000 /* DESCV2 TCPv6 large send en */
+#define RE_TDESC_CMD_LGSEND_V6 0x02000000 /* DESCV2 TCPv6 large send en */
#define RE_TDESC_VLANCTL_TAG 0x00020000 /* Insert VLAN tag */
#define RE_TDESC_VLANCTL_DATA 0x0000FFFF /* TAG data */