1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/dev/et
John Baldwin c34f1a08c6 Fix teardown of static DMA allocations in various NIC drivers:
- Add missing calls to bus_dmamap_unload() in et(4).
- Check the bus address against 0 to decide when to call
  bus_dmamap_unload() instead of comparing the bus_dma map against NULL.
- Check the virtual address against NULL to decide when to call
  bus_dmamem_free() instead of comparing the bus_dma map against NULL.
- Don't clear bus_dma map pointers to NULL for static allocations.
  Instead, treat the value as completely opaque.
- Pass the correct virtual address to bus_dmamem_free() in wpi(4) instead
  of trying to free a pointer to the virtual address.

Reviewed by:	yongari
2014-06-17 14:47:49 +00:00
..
if_et.c Fix teardown of static DMA allocations in various NIC drivers: 2014-06-17 14:47:49 +00:00
if_etreg.h Announce flow control ability to PHY driver and enable RX flow 2011-12-09 19:10:38 +00:00
if_etvar.h FreeBSD driver does not require arpcom structure in softc. 2011-12-09 23:37:55 +00:00