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 value for RE_TDESC_CMD_LGSEND_V6 (currently u...



details:   https://anonhg.NetBSD.org/src/rev/e553f80330e3
branches:  trunk
changeset: 823313:e553f80330e3
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Wed Apr 19 02:21:53 2017 +0000

description:
Fix value for RE_TDESC_CMD_LGSEND_V6 (currently unused)

diffstat:

 sys/dev/ic/rtl81x9reg.h |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 54923b1bb785 -r e553f80330e3 sys/dev/ic/rtl81x9reg.h
--- a/sys/dev/ic/rtl81x9reg.h   Wed Apr 19 00:20:02 2017 +0000
+++ b/sys/dev/ic/rtl81x9reg.h   Wed Apr 19 02:21:53 2017 +0000
@@ -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 @@
 #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 */



Home | Main Index | Thread Index | Old Index