summaryrefslogtreecommitdiffstats
path: root/sys/dev/sf/if_sfreg.h
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2001-08-16 00:32:20 +0000
committerwpaul <wpaul@FreeBSD.org>2001-08-16 00:32:20 +0000
commit63a42f31d018af8ee2b9e9e9125007af2b915337 (patch)
tree49620f04136f9649e8165e06b1b3b05f09fd9a53 /sys/dev/sf/if_sfreg.h
parent35478e0db2b6c2bf559b202fa009a2dd0ce06fb8 (diff)
downloadFreeBSD-src-63a42f31d018af8ee2b9e9e9125007af2b915337.zip
FreeBSD-src-63a42f31d018af8ee2b9e9e9125007af2b915337.tar.gz
Still more changes to try to prevent TX lockups. Will wait for one more
night of testing before merging to -stable. Also added to code to detect TX underruns and automatically increase the TX threshold to avoid them. Carefully placed diagnostig printf() about this under #ifdef DIAGNOSTIC to avoid getting any panicky e-mails from confused users, like I always do with the xl and dc drivers.
Diffstat (limited to 'sys/dev/sf/if_sfreg.h')
-rw-r--r--sys/dev/sf/if_sfreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sf/if_sfreg.h b/sys/dev/sf/if_sfreg.h
index fd2107f..1975cfc 100644
--- a/sys/dev/sf/if_sfreg.h
+++ b/sys/dev/sf/if_sfreg.h
@@ -349,7 +349,8 @@
(SF_IMR_RXDQ2_NOBUFS|SF_IMR_RXDQ1_DMADONE|SF_IMR_RXDQ2_DMADONE| \
SF_IMR_TX_TXDONE|SF_IMR_RXDQ1_NOBUFS|SF_IMR_RXDQ2_DMADONE| \
SF_IMR_NORMALINTR|SF_IMR_ABNORMALINTR|SF_IMR_TXCQ_NOBUFS| \
- SF_IMR_RXCQ1_NOBUFS|SF_IMR_RXCQ2_NOBUFS|SF_IMR_STATSOFLOW)
+ SF_IMR_RXCQ1_NOBUFS|SF_IMR_RXCQ2_NOBUFS|SF_IMR_STATSOFLOW| \
+ SF_IMR_TX_LOFIFO)
/* TX descriptor queue control registers */
#define SF_TXDQCTL_DESCTYPE 0x00000007
OpenPOWER on IntegriCloud