Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 02/19/2007 18:44:06
Module Name:	src
Committed By:	bouyer
Date:		Mon Feb 19 18:44:06 UTC 2007

Modified Files:
	src/sys/dev/pci: if_bge.c

Log Message:
We have to bus_mapmap_load() after m_adj, otherwise the map will point at
the wrong place in the buffer. Fix an issue in the !sc->bge_rx_alignment_bug
case reported by Nicolas Joly.
While there remove a duplicate m_adj(), and add a missing bus_dmamap_unload().


To generate a diff of this commit:
cvs rdiff -r1.124 -r1.125 src/sys/dev/pci/if_bge.c

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