freebsd-dev/sys/dev/oce
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
..
oce_hw.c Update driver to version 10.0.664.0. 2013-10-23 18:58:38 +00:00
oce_hw.h The previous code makes a memory allocation in size of 2013-11-14 18:53:17 +00:00
oce_if.c Since 32-bit if_baudrate isn't enough to describe a baud rate of a 10 Gbit 2014-03-13 03:42:24 +00:00
oce_if.h Apply vendor improvements to oce(4) driver: 2013-12-04 20:24:18 +00:00
oce_mbox.c Apply vendor improvements to oce(4) driver: 2013-12-04 20:24:18 +00:00
oce_queue.c Update driver to version 10.0.664.0. 2013-10-23 18:58:38 +00:00
oce_sysctl.c Apply vendor improvements to oce(4) driver: 2013-12-04 20:24:18 +00:00
oce_util.c Fix teardown of static DMA allocations in various NIC drivers: 2014-06-17 14:47:49 +00:00