adrian 13dd70acbf There's no nede to allocate a DMA map just before calling bus_dmamem_alloc().
In fact, bus_dmamem_alloc() happily NULLs the dmat pointer passed in,
before replacing it with its own.

This fixes a MIPS crash when kldload'ing if_ath/if_ath_pci -
bus_dmamap_destroy() was passed in a NULL dmat pointer and was doing
all kinds of very bad things.

Reviewed by:	scottl
2012-08-29 16:58:51 +00:00
..
2012-08-27 20:30:07 +00:00
2011-11-08 19:25:52 +00:00
2011-11-08 19:25:52 +00:00
2012-08-29 00:53:58 +00:00
2012-08-14 22:34:22 +00:00