Go to file
jonathan de85711ee1 Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver:
Each call to the FreeBSD bge_start() routine the transmit producer
pointer index from the chip mailbox register BGE_MBX_TX_HOST_PROD0_LO.
The local copy of that value is then updated by bge_encap() as
bge_encap() encapsulates packets in the Tx ring. If bge_encap()
succeds in encpuslating one or more packets, bge_start() tells the
chip to start sending the newly-encinitiates writes the new value back
to the chip mailbox register.

However, comparison of the Linux drivers (Broadcom-supplied and
open-source tg3.c) and to the OpenSolaris driver confirms that
register BGE_MBX_TX_HOST_PROD0_LO is write-only to software.
Thus, we can just keep a copy in the softc, and eliminate the
(expensive) PCI register write on each call to bge_start().

``Make it so''.
2005-11-15 06:05:44 +00:00
bin add "uaddr" and improve text for "laddr". 2005-11-11 17:06:22 +00:00
crypto Merge ipsec-tools 0.6.2 import. 2005-10-14 14:01:34 +00:00
dist reverting to the previous version of file 4.16, not 4.15. 2005-10-21 16:01:16 +00:00
distrib Add missing T: 2005-11-14 01:57:12 +00:00
doc correct base tag of yamt-readahead. 2005-11-15 04:06:57 +00:00
etc Add /usr/share/legal. 2005-10-22 12:31:52 +00:00
games Typos, duplicate words, consistent formatting. 2005-10-29 22:49:36 +00:00
gnu When compiling with -Os put all strings into .rodata.str1.1 (ie byte aligned) 2005-11-05 18:29:53 +00:00
include Change the sched_*() functions to return -1 and set errno to ENOSYS 2005-10-09 11:17:28 +00:00
lib Fix the code example. 2005-11-10 17:23:26 +00:00
libexec - Don't use a stale errno when printing an error 2005-10-31 16:15:42 +00:00
regress Don't check <sys/systm.h> anymore. 2005-10-30 23:36:22 +00:00
rescue put back tetris; by popular demand. 2005-09-23 00:29:51 +00:00
sbin The securelevel does not affect whether Veriexec's tables can be modified; 2005-11-13 18:39:53 +00:00
share Enable build.sh -x building for the usbtablet driver new in xsrc 2005-11-12 22:57:46 +00:00
sys Correct a performance bug from Bill Paul's original FreeBSD bge(4) driver: 2005-11-15 06:05:44 +00:00
tools We use gcc's crtstuff now - update this acordingly (thanks to 2005-10-29 20:43:35 +00:00
usr.bin Invert the meaning of a comment to match reality. Pointed out by uwe@. 2005-11-13 17:24:31 +00:00
usr.sbin Bump version for ``pkg_info -Q against local binary packages'' fix. 2005-11-14 09:41:43 +00:00
x11 Enable build.sh -x building for the usbtablet driver new in xsrc 2005-11-12 22:57:46 +00:00
BUILDING Document the environment variables for if you need to override or 2005-02-15 18:41:18 +00:00
Makefile Modify "release" to invoke "make distribution" instead of "make build", 2005-08-25 02:04:39 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING note about conf/std. 2005-10-03 04:45:52 +00:00
build.sh It needs the braceexpand option for PD KSH, regardless of 2005-09-25 05:34:21 +00:00