diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-12 10:32:09 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 05:54:16 -0400 |
commit | 4e5e4f0d65975ce092202cce48b42571bf84591e (patch) | |
tree | 2546d327dd63fa837a458fbe0601ebade386d265 /drivers/net/tg3.h | |
parent | 8595805aafc8b077e01804c9a3668e9aa3510e89 (diff) |
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>
Diffstat (limited to 'drivers/net/tg3.h')
-rw-r--r-- | drivers/net/tg3.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.h b/drivers/net/tg3.h index b71083d9a118..ce9c4918c318 100644 --- a/drivers/net/tg3.h +++ b/drivers/net/tg3.h | |||
@@ -2512,7 +2512,7 @@ struct tg3_hw_stats { | |||
2512 | */ | 2512 | */ |
2513 | struct ring_info { | 2513 | struct ring_info { |
2514 | struct sk_buff *skb; | 2514 | struct sk_buff *skb; |
2515 | DECLARE_PCI_UNMAP_ADDR(mapping) | 2515 | DEFINE_DMA_UNMAP_ADDR(mapping); |
2516 | }; | 2516 | }; |
2517 | 2517 | ||
2518 | struct tg3_config_info { | 2518 | struct tg3_config_info { |