Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Izumi Tsutsui <tsutsui@netbsd.org>
List: source-changes
Date: 11/26/2006 02:40:10
Module Name:	src
Committed By:	tsutsui
Date:		Sun Nov 26 02:40:10 UTC 2006

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

Log Message:
Pull some bge_encap() fixes from OpenBSD:
> - Move TX ring full sanity check further up and check the number of DMA
> segments from the DMA map, instead of counting the DMA segments in the
> for loop and breaking out later.
> - Unload the DMA map if encountering an error condition.


To generate a diff of this commit:
cvs rdiff -r1.117 -r1.118 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.