bus_dmamap_load_mbuf change/fix

Joerg Sonnenberger joerg at britannica.bec.de
Tue Jan 18 06:05:42 PST 2005


On Tue, Jan 18, 2005 at 03:41:07AM -0500, Andrew Atrens wrote:
> Modify bus_dmamap_load_mbuf() to not map zero-length mbuf segments.
> This is an optimisation for some wireless drivers (wi) and is required
> by others (iwi firmware in particular).

Commited. I've used an explicit check for 0 + continue to avoid an
unnecessary indentation level for the main flow. Please, use -u for
future patches :)

Joerg





More information about the Submit mailing list