Subject: CVS commit: src/sys/arch/mips/sibyte/dev
To: None <source-changes@NetBSD.org>
From: Simon Burge <simonb@netbsd.org>
List: source-changes
Date: 03/18/2004 05:57:58
Module Name:	src
Committed By:	simonb
Date:		Thu Mar 18 05:57:58 UTC 2004

Modified Files:
	src/sys/arch/mips/sibyte/dev: sbmac.c

Log Message:
Fix pass3 Tx DMA - when an mbuf spans a page boundary, make sure that
 it either is sitting in contiguous physical RAM or split the mbuf
 into two Tx descriptors.  Not the prettiest patch, but works well in
 practice - gets about an 8% decrease on CPU time for a simple ttcp TCP
 Tx benchmark.  Thanks to Chris Demetriou for some debugging help.
Add some event counters.
Remove some #if 0'd debug code.


To generate a diff of this commit:
cvs rdiff -r1.14 -r1.15 src/sys/arch/mips/sibyte/dev/sbmac.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.