Date: Fri, 15 Jan 1999 22:26:02 -0800 (PST) From: Bill Paul <wpaul@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/pci if_wb.c if_wbreg.h Message-ID: <199901160626.WAA17672@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wpaul 1999/01/15 22:26:01 PST
Modified files:
sys/pci if_wb.c if_wbreg.h
Log:
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.
Revision Changes Path
1.6 +45 -22 src/sys/pci/if_wb.c
1.2 +2 -2 src/sys/pci/if_wbreg.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901160626.WAA17672>
