Subject: CVS commit: src/sys/dev/qbus
To: None <source-changes@netbsd.org>
From: Manuel BOUYER <bouyer@netbsd.org>
List: source-changes
Date: 01/17/2003 17:46:00
Module Name:	src
Committed By:	bouyer
Date:		Fri Jan 17 15:46:00 UTC 2003

Modified Files:
	src/sys/dev/qbus: if_qe.c

Log Message:
Redo previous in a better way:
allocate a static buffer, which is added at the end of short packets
to pad the buffer to ETHER_MIN_LEN - ETHER_CRC_LEN.
While I'm there fix 2 bugs:
in qeinit(), unload the right dmamap if bus_dmamap_load fails
in qestart, don't dmamap_load the mbuf if its len is 0.
Tested on simh-vax.


To generate a diff of this commit:
cvs rdiff -r1.56 -r1.57 src/sys/dev/qbus/if_qe.c

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