Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci Correct the description of two bits in the TCP c...



details:   https://anonhg.NetBSD.org/src/rev/2158af3e7da4
branches:  trunk
changeset: 534040:2158af3e7da4
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sun Jul 14 00:56:22 2002 +0000

description:
Correct the description of two bits in the TCP context descriptor.

diffstat:

 sys/dev/pci/if_wmreg.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r d84732de46ab -r 2158af3e7da4 sys/dev/pci/if_wmreg.h
--- a/sys/dev/pci/if_wmreg.h    Sun Jul 14 00:37:46 2002 +0000
+++ b/sys/dev/pci/if_wmreg.h    Sun Jul 14 00:56:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_wmreg.h,v 1.1 2002/03/28 04:54:35 thorpej Exp $     */
+/*     $NetBSD: if_wmreg.h,v 1.2 2002/07/14 00:56:22 thorpej Exp $     */
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -145,8 +145,8 @@
 };
 
 /* commands for context descriptors */
-#define        WTX_TCPIP_CMD_TCP       (1U << 24)      /* TCP context valid */
-#define        WTX_TCPIP_CMD_IP        (1U << 25)      /* IP context valid */
+#define        WTX_TCPIP_CMD_TCP       (1U << 24)      /* 1 = TCP, 0 = UDP */
+#define        WTX_TCPIP_CMD_IP        (1U << 25)      /* 1 = IPv4, 0 = IPv6 */
 #define        WTX_TCPIP_CMD_TSE       (1U << 26)      /* segmentation context valid */
 
 #define        WTX_TCPIP_IPCSS(x)      ((x) << 0)      /* checksum start */



Home | Main Index | Thread Index | Old Index