igb: remove use of skb_dma_map from driver
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 2 Dec 2009 16:47:18 +0000 (16:47 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 03:57:12 +0000 (19:57 -0800)
commit6366ad331f436388129dfc044db871de79604e4d
tree39e667c2191093fbb21f5cf74a538da945b32817
parente5a43549f7a58509a91b299a51337d386697b92c
igb: remove use of skb_dma_map from driver

This change removes skb_dma_map/unmap calls from the igb driver due to the
fact that the call is incompatible with iommu enabled kernels.  In order to
prevent warnings about using the wrong unmap call I have added a
mapped_as_page value to the buffer_info structure to track if the mapped
region is a page or a buffer.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c