tg3: use the DMA state API instead of the pci equivalents
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Mon, 12 Apr 2010 14:32:09 +0000 (14:32 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Apr 2010 09:54:16 +0000 (02:54 -0700)
commit4e5e4f0d65975ce092202cce48b42571bf84591e
tree2546d327dd63fa837a458fbe0601ebade386d265
parent8595805aafc8b077e01804c9a3668e9aa3510e89
tg3: use the DMA state API instead of the pci equivalents

This replace the PCI DMA state API (include/linux/pci-dma.h) with the
DMA equivalents since the PCI DMA state API will be obsolete.

No functional change.

For further information about the background:

http://marc.info/?l=linux-netdev&m=127037540020276&w=2

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Matt Carlson <mcarlson@broadcom.com>
Cc: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tg3.c
drivers/net/tg3.h