diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-02-22 19:26:55 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-02-22 19:26:55 +0000 |
commit | 10926b121d7a9505841e75788e3113e28939c569 (patch) | |
tree | 38aad0fc101e7023ce03ac46ce9d8de3dbdc4022 /sys/pci/if_dcreg.h | |
parent | aba557bd7c700da1854148971769566333eabb2c (diff) | |
download | FreeBSD-src-10926b121d7a9505841e75788e3113e28939c569.zip FreeBSD-src-10926b121d7a9505841e75788e3113e28939c569.tar.gz |
Apply patch to allow TX underrun handling without issuing a complete
chip reset. Just temporarily turn off the transmitter instead.
Submitted by: Stephen McKay <mckay@freebsd.org>
Diffstat (limited to 'sys/pci/if_dcreg.h')
-rw-r--r-- | sys/pci/if_dcreg.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/pci/if_dcreg.h b/sys/pci/if_dcreg.h index 56f441f..658b221 100644 --- a/sys/pci/if_dcreg.h +++ b/sys/pci/if_dcreg.h @@ -220,10 +220,16 @@ #define DC_OPMODE_INTLOOP 0x00000400 #define DC_OPMODE_EXTLOOP 0x00000800 +#if 0 #define DC_TXTHRESH_72BYTES 0x00000000 #define DC_TXTHRESH_96BYTES 0x00004000 #define DC_TXTHRESH_128BYTES 0x00008000 #define DC_TXTHRESH_160BYTES 0x0000C000 +#endif + +#define DC_TXTHRESH_MIN 0x00000000 +#define DC_TXTHRESH_INC 0x00004000 +#define DC_TXTHRESH_MAX 0x0000C000 /* |