if_iwm - Use DragonFly specific convenience functions for bus_dma stuff.
commitf073608f1ef4bf6ab9cc04e0b4fac433b6cd2242
authorImre Vadász <imre@vdsz.com>
Fri, 10 Jun 2016 20:34:17 +0000 (10 22:34 +0200)
committerImre Vadász <imre@vdsz.com>
Fri, 10 Jun 2016 20:44:22 +0000 (10 22:44 +0200)
treefedda5010157c209649af3b4698599a373af7727
parentd4fd539545b478740bb43d2499c340d0a207cade
if_iwm - Use DragonFly specific convenience functions for bus_dma stuff.

* Use bus_dmamap_load_mbuf_defrag() in iwm_tx().

* Use bus_dmamem_coherent() in iwm_dma_contig_alloc().

* Use bus_dmamap_load_mbuf_segment() in iwm_rx_addbuf().

* This means iwm_dma_map_addr() is no longer needed on DragonFly.

* Try to keep around the corresponding/old code for FreeBSD for easier
  syncing of changes to/from FreeBSD.
sys/dev/netif/iwm/if_iwm.c