]> git.karo-electronics.de Git - linux-beck.git/commit
i40e/i40evf: Use dma_set_mask_and_coherent
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 11 Feb 2014 08:26:33 +0000 (08:26 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 14 Mar 2014 23:30:05 +0000 (16:30 -0700)
commit6494294f277fdef1409b844b3d6eb1439c3fad8c
tree929f00f28bd27fd869db5f99a2eb97f7e39c7c6e
parent9347eb771ece4fda0ad78c1c991f020af17abcb8
i40e/i40evf: Use dma_set_mask_and_coherent

In Linux 3.13, dma_set_mask_and_coherent was introduced, and we have
been encouraged to use it. It simplifies the DMA mapping code a bit as
well.

Change-ID: I66e340245af7d0dedfa8b40fec1f5e352754432e
Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40evf/i40evf_main.c