Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/ic Bits and values for checksum insertion controll
details: https://anonhg.NetBSD.org/src/rev/010a9b7ca3a7
branches: trunk
changeset: 334044:010a9b7ca3a7
user: martin <martin%NetBSD.org@localhost>
date: Fri Nov 28 09:01:05 2014 +0000
description:
Bits and values for checksum insertion controll
diffstat:
sys/dev/ic/dwc_gmac_reg.h | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diffs (28 lines):
diff -r c6485c2f2772 -r 010a9b7ca3a7 sys/dev/ic/dwc_gmac_reg.h
--- a/sys/dev/ic/dwc_gmac_reg.h Fri Nov 28 08:29:00 2014 +0000
+++ b/sys/dev/ic/dwc_gmac_reg.h Fri Nov 28 09:01:05 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dwc_gmac_reg.h,v 1.13 2014/11/22 18:31:03 jmcneill Exp $ */
+/* $NetBSD: dwc_gmac_reg.h,v 1.14 2014/11/28 09:01:05 martin Exp $ */
/*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@@ -188,10 +188,17 @@
#define DDESC_CNTL_TXINT __BIT(31)
#define DDESC_CNTL_TXLAST __BIT(30)
#define DDESC_CNTL_TXFIRST __BIT(29)
-#define DDESC_CNTL_TXCHECKINSCTRL __BIT(27)
+#define DDESC_CNTL_TXCHECKINSCTRL __BITS(27,28)
+
+#define DDESC_TXCHECK_DISABLED 0
+#define DDESC_TXCHECK_IP 1
+#define DDESC_TXCHECK_IP_NO_PSE 2
+#define DDESC_TXCHECK_FULL 3
+
#define DDESC_CNTL_TXCRCDIS __BIT(26)
#define DDESC_CNTL_TXRINGEND __BIT(25)
#define DDESC_CNTL_TXCHAIN __BIT(24)
+#define DDESC_CNTL_TXDISPAD __BIT(23)
/* for RX descriptors */
#define DDESC_CNTL_RXINTDIS __BIT(31)
Home |
Main Index |
Thread Index |
Old Index