Module Name: src
Committed By: bouyer
Date: Wed Apr 1 20:27:09 UTC 2009
Modified Files:
src/sys/dev/ic [netbsd-4]: rtl81x9reg.h
Log Message:
Fix processing or ticket pullup-4 #1297; previous didn't include revisions
1.34 and 1.35 as requested and announced in commit messages and
CHANGES-4.1 entry
To generate a diff of this commit:
cvs rdiff -u -r1.25.2.4 -r1.25.2.5 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.25.2.4 src/sys/dev/ic/rtl81x9reg.h:1.25.2.5
--- src/sys/dev/ic/rtl81x9reg.h:1.25.2.4 Tue Mar 31 18:22:02 2009
+++ src/sys/dev/ic/rtl81x9reg.h Wed Apr 1 20:27:08 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: rtl81x9reg.h,v 1.25.2.4 2009/03/31 18:22:02 bouyer Exp $ */
+/* $NetBSD: rtl81x9reg.h,v 1.25.2.5 2009/04/01 20:27:08 bouyer Exp $ */
/*
* Copyright (c) 1997, 1998
@@ -475,6 +475,9 @@
#define RE_TDESC_VLANCTL_TAG 0x00020000 /* Insert VLAN tag */
#define RE_TDESC_VLANCTL_DATA 0x0000FFFF /* TAG data */
+#define RE_TDESC_VLANCTL_UDPCSUM 0x80000000 /* DESCV2 UDP cksum enable */
+#define RE_TDESC_VLANCTL_TCPCSUM 0x40000000 /* DESCV2 TCP cksum enable */
+#define RE_TDESC_VLANCTL_IPCSUM 0x20000000 /* DESCV2 IP hdr cksum enable */
/*
* Error bits are valid only on the last descriptor of a frame
@@ -521,6 +524,8 @@
#define RE_RDESC_VLANCTL_TAG 0x00010000 /* VLAN tag available
(re_vlandata valid)*/
#define RE_RDESC_VLANCTL_DATA 0x0000FFFF /* TAG data */
+#define RE_RDESC_VLANCTL_IPV6 0x80000000 /* DESCV2 IPV6 packet */
+#define RE_RDESC_VLANCTL_IPV4 0x40000000 /* DESCV2 IPV4 packet */
#define RE_PROTOID_NONIP 0x00000000
#define RE_PROTOID_TCPIP 0x00010000