Subject: CVS commit: src/sys/dev/pci
To: None <source-changes@NetBSD.org>
From: Steve Woodford <scw@netbsd.org>
List: source-changes
Date: 10/29/2005 10:48:03
Module Name: src
Committed By: scw
Date: Sat Oct 29 10:48:03 UTC 2005
Modified Files:
src/sys/dev/pci: if_iwi.c
Log Message:
- Use the DMA map size when calling bus_dmamap_sync(), instead of
blindly assuming MCLBYTES will DTRT.
- Use bus_dmamap_load_mbuf() instead of bus_dmamap_load() where
appropriate.
- If we have to coalesce a Tx mbuf chain comprised of more than IWI_MAX_NSEG
segments, allocate a cluster iff the payload won't fit in the header.
To generate a diff of this commit:
cvs rdiff -r1.33 -r1.34 src/sys/dev/pci/if_iwi.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.