diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-08-16 00:32:20 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-08-16 00:32:20 +0000 |
commit | 63a42f31d018af8ee2b9e9e9125007af2b915337 (patch) | |
tree | 49620f04136f9649e8165e06b1b3b05f09fd9a53 /sys/pci/if_sfreg.h | |
parent | 35478e0db2b6c2bf559b202fa009a2dd0ce06fb8 (diff) | |
download | FreeBSD-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/pci/if_sfreg.h')
-rw-r--r-- | sys/pci/if_sfreg.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/pci/if_sfreg.h b/sys/pci/if_sfreg.h index fd2107f..1975cfc 100644 --- a/sys/pci/if_sfreg.h +++ b/sys/pci/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 |