git: if_iwm - Use DragonFly specific convenience functions for bus_dma stuff.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Fri Jun 10 13:56:24 PDT 2016


commit f073608f1ef4bf6ab9cc04e0b4fac433b6cd2242
Author: Imre Vadász <imre at vdsz.com>
Date:   Fri Jun 10 22:34:17 2016 +0200

    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.

Summary of changes:
 sys/dev/netif/iwm/if_iwm.c | 71 ++++++++++++++++++++++++++++------------------
 1 file changed, 44 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f073608f1ef4bf6ab9cc04e0b4fac433b6cd2242


-- 
DragonFly BSD source repository



More information about the Commits mailing list