]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Stability fixes:
authorwpaul <wpaul@FreeBSD.org>
Sat, 16 Jan 1999 06:25:59 +0000 (06:25 +0000)
committerwpaul <wpaul@FreeBSD.org>
Sat, 16 Jan 1999 06:25:59 +0000 (06:25 +0000)
commit9ca21c103197c930e8d45431ad25a0582a498a11
tree582689690bee293209a0b1d7f06fd3dd201a82d9
parent96171289530a831b5246275f4e0af3f292ce66d3
Stability fixes:

- In wb_rxeof(), if the received packet is less than MINCLSIZE bytes,
  copy it to an mbuf chain so as to be more frugal in our use of mbuf
  clusters.

- The Winbond chip, like the ASIX, wants the 'TX interrupt request'
  bit set in the _first_ fragment of a transmitted frame, not the
  last. (At least the Winbond manual states this unambiguously; too
  bad I wasn't paying attention when I read it the first time.)

- Turn off the transmit threshold mechanism (initialize the threshold
  to 0). This effectively puts the chip in 'store and forward' mode
  which seems to cut down on transmit errors a little. It may also
  reduce transmit performace a bit, but I'm willing to do that if it
  means better reliability.
sys/pci/if_wb.c
sys/pci/if_wbreg.h