igb: convert igb from using PCI DMA functions to using DMA API functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 27 Apr 2010 13:09:25 +0000 (13:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Apr 2010 23:29:50 +0000 (16:29 -0700)
commit59d71989352deb71bc0bba83802820de765f6e25
tree817ace76d6535316468983cf8d96cd685ba0be12
parent0be3f55f8aa5f9d1882255128bd79d4885b0cbe4
igb: convert igb from using PCI DMA functions to using DMA API functions

This patch makes it so that igb now uses the DMA API functions instead of
the PCI API functions.  To do this the pci_dev pointer that was in the
rings has been replaced with a device pointer, and as a result all
references to [tr]x_ring->pdev have been replaced with [tr]x_ring->dev.

This patch is based of of work originally done by Nicholas Nunley.
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_ethtool.c
drivers/net/igb/igb_main.c