summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_wxvar.h
diff options
context:
space:
mode:
authormjacob <mjacob@cvs.openbsd.org>2001-10-24 18:25:56 +0000
committermjacob <mjacob@cvs.openbsd.org>2001-10-24 18:25:56 +0000
commitc2192b206673b24b72ba89a1620fde12037ca9ad (patch)
treea3bfde7536b92bce5c467a79d73e78ce52dd6deb /sys/dev/pci/if_wxvar.h
parent5ed1e6772a38fba9db389aba1e31cf0ce1b1d28a (diff)
More cleanups from FreeBSD version- principally getting rid of bogus
pullup for small mbufs (which was unnecessary); setting txint delay;
Diffstat (limited to 'sys/dev/pci/if_wxvar.h')
-rw-r--r--sys/dev/pci/if_wxvar.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/pci/if_wxvar.h b/sys/dev/pci/if_wxvar.h
index a90b34d8a00..408552b57fd 100644
--- a/sys/dev/pci/if_wxvar.h
+++ b/sys/dev/pci/if_wxvar.h
@@ -169,7 +169,8 @@ typedef struct wx_softc {
/*
* misc goodies
*/
- u_int32_t : 23,
+ u_int32_t : 22,
+ wx_needreinit : 1,
wx_mii : 1, /* non-zero if we have a PHY */
wx_no_flow : 1,
wx_ilos : 1,
@@ -181,7 +182,7 @@ typedef struct wx_softc {
all_mcasts : 1;
u_int32_t wx_idnrev; /* chip revision && PCI ID */
u_int16_t wx_cfg1;
- u_int16_t wx_txint_delay;
+ u_int16_t wx_unused;
u_int32_t wx_ienable; /* current ienable to use */
u_int32_t wx_dcr; /* dcr used */
u_int32_t wx_icr; /* last icr */
@@ -192,15 +193,16 @@ typedef struct wx_softc {
u_int32_t wx_intr;
u_int32_t wx_linkintr;
u_int32_t wx_rxintr;
+ u_int32_t wx_txqe;
u_int32_t wx_xmitgc;
u_int32_t wx_xmitpullup;
u_int32_t wx_xmitcluster;
u_int32_t wx_xmitputback;
u_int32_t wx_xmitwanted;
u_int32_t wx_xmitblocked;
- u_int32_t wx_xmitblocked1;
u_int32_t wx_xmitrunt;
u_int32_t wx_rxnobuf;
+ u_int32_t wx_oddpkt;
/*
* Soft copies of multicast addresses. We're only