Commit 1a983142 authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by David S. Miller

bnx2x: use the DMA API instead of the pci equivalents

The DMA API is preferred.
Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: default avatarVladislav Zolotarov <vladz@broadcom.com>
Acked-by: default avatarEilon Greenstein <eilong@broadcom.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a4ccc2d
...@@ -163,7 +163,7 @@ do { \ ...@@ -163,7 +163,7 @@ do { \
struct sw_rx_bd { struct sw_rx_bd {
struct sk_buff *skb; struct sk_buff *skb;
DECLARE_PCI_UNMAP_ADDR(mapping) DEFINE_DMA_UNMAP_ADDR(mapping);
}; };
struct sw_tx_bd { struct sw_tx_bd {
...@@ -176,7 +176,7 @@ struct sw_tx_bd { ...@@ -176,7 +176,7 @@ struct sw_tx_bd {
struct sw_rx_page { struct sw_rx_page {
struct page *page; struct page *page;
DECLARE_PCI_UNMAP_ADDR(mapping) DEFINE_DMA_UNMAP_ADDR(mapping);
}; };
union db_prod { union db_prod {
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment