diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-01 12:56:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-08 00:05:35 -0400 |
commit | 1a4ccc2d460f252853dfa2fb38b4ea881916713d (patch) | |
tree | a08c297a00cac40459a79ce23bab077bf48f5595 /drivers/net/bnx2.h | |
parent | 5e01d2f91df62be4d6f282149bc2a8858992ceca (diff) |
bnx2: use the dma state API instead of the pci equivalents
The DMA API is preferred.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2.h')
-rw-r--r-- | drivers/net/bnx2.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/bnx2.h b/drivers/net/bnx2.h index cd4b0e4637ab..ab34a5d86f86 100644 --- a/drivers/net/bnx2.h +++ b/drivers/net/bnx2.h | |||
@@ -6551,17 +6551,17 @@ struct l2_fhdr { | |||
6551 | 6551 | ||
6552 | struct sw_bd { | 6552 | struct sw_bd { |
6553 | struct sk_buff *skb; | 6553 | struct sk_buff *skb; |
6554 | DECLARE_PCI_UNMAP_ADDR(mapping) | 6554 | DEFINE_DMA_UNMAP_ADDR(mapping); |
6555 | }; | 6555 | }; |
6556 | 6556 | ||
6557 | struct sw_pg { | 6557 | struct sw_pg { |
6558 | struct page *page; | 6558 | struct page *page; |
6559 | DECLARE_PCI_UNMAP_ADDR(mapping) | 6559 | DEFINE_DMA_UNMAP_ADDR(mapping); |
6560 | }; | 6560 | }; |
6561 | 6561 | ||
6562 | struct sw_tx_bd { | 6562 | struct sw_tx_bd { |
6563 | struct sk_buff *skb; | 6563 | struct sk_buff *skb; |
6564 | DECLARE_PCI_UNMAP_ADDR(mapping) | 6564 | DEFINE_DMA_UNMAP_ADDR(mapping); |
6565 | unsigned short is_gso; | 6565 | unsigned short is_gso; |
6566 | unsigned short nr_frags; | 6566 | unsigned short nr_frags; |
6567 | }; | 6567 | }; |