summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_txpreg.h
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-11-02 19:31:01 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-11-02 19:31:01 +0000
commitef2ab22bf582092e9e71bf271565532885ba7750 (patch)
treecfa935651612388e9b3435a5dd5bca1acf4dc74a /sys/dev/pci/if_txpreg.h
parentc46534ea51beab3a1beb621937f6c3fd9c5e8691 (diff)
- Set valid bit in transmit descriptors and tx fragment descriptors (previous
firmware versions didn't use it, but newer ones might... play it safe). - add a bit of debugging code to tx so I can get dumps easier to send to 3com. (ifdef'd out). - ifdef both places that require modification to enable TX cksums to avoid errors like halfway enabling them (which caused me a bit of pain the other day). - TX UDP/TCP cksums still hang the firmware
Diffstat (limited to 'sys/dev/pci/if_txpreg.h')
-rw-r--r--sys/dev/pci/if_txpreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/if_txpreg.h b/sys/dev/pci/if_txpreg.h
index a4bb9298bfd..9aae779d378 100644
--- a/sys/dev/pci/if_txpreg.h
+++ b/sys/dev/pci/if_txpreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_txpreg.h,v 1.32 2001/10/29 22:32:56 jason Exp $ */
+/* $OpenBSD: if_txpreg.h,v 1.33 2001/11/02 19:31:00 jason Exp $ */
/*
* Copyright (c) 2001 Aaron Campbell <aaron@monkey.org>.
@@ -374,6 +374,7 @@ struct txp_frag_desc {
#define FRAG_FLAGS_TYPE_OPT 0x03 /* type: options */
#define FRAG_FLAGS_TYPE_RX 0x04 /* type: command */
#define FRAG_FLAGS_TYPE_RESP 0x05 /* type: response */
+#define FRAG_FLAGS_VALID 0x80 /* valid descriptor */
struct txp_opt_desc {
u_int8_t opt_desctype:3,