Subject: NetBSD master CVS tree commits
To: None <source-changes@NetBSD.ORG>
From: None <source@NetBSD.ORG>
List: source-changes
Date: 08/26/1997 01:30:03
jonathan
Mon Aug 25 18:27:13 PDT 1997
Update of /a/cvsroot/src/sys/dev/tc
In directory netbsd1:/var/slash-tmp/cvs-serv12963

Modified Files:
	if_le_ioasic.c 
Log Message:
rewrite and hand-tune copy_gap16 loops:
  * hoist code to deal with  fragments of a 16-byte chunk outside
    main copy loop.
  * over 98% of dynamic calls are 2-byte-algnied but not 4-byte-aligned
   (due to 14-byte Ether headers).  kernel bcopy is poorly tune for this.
   Replace bcopy() with  inline code tuned to  minimize accesses
   to DMA buffers, which aren't uncached on mips.

Tested on 5000/240 (3MAXPLUS) and 3000/700 (sandpiper) (mjacob@feral.com)