diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-03 21:51:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-08 00:05:35 -0400 |
commit | 1a98314273ad6a3dc048925cf71d9a8cee3560d8 (patch) | |
tree | 35abd828c2112f0aac2521a81214f8d1c742d9d7 /drivers/net/bnx2x.h | |
parent | 1a4ccc2d460f252853dfa2fb38b4ea881916713d (diff) |
bnx2x: use the DMA API instead of the pci equivalents
The DMA API is preferred.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Vladislav Zolotarov <vladz@broadcom.com>
Acked-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x.h')
-rw-r--r-- | drivers/net/bnx2x.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/bnx2x.h b/drivers/net/bnx2x.h index 3c48a7a68308..ae9c89ebcc8b 100644 --- a/drivers/net/bnx2x.h +++ b/drivers/net/bnx2x.h | |||
@@ -163,7 +163,7 @@ do { \ | |||
163 | 163 | ||
164 | struct sw_rx_bd { | 164 | struct sw_rx_bd { |
165 | struct sk_buff *skb; | 165 | struct sk_buff *skb; |
166 | DECLARE_PCI_UNMAP_ADDR(mapping) | 166 | DEFINE_DMA_UNMAP_ADDR(mapping); |
167 | }; | 167 | }; |
168 | 168 | ||
169 | struct sw_tx_bd { | 169 | struct sw_tx_bd { |
@@ -176,7 +176,7 @@ struct sw_tx_bd { | |||
176 | 176 | ||
177 | struct sw_rx_page { | 177 | struct sw_rx_page { |
178 | struct page *page; | 178 | struct page *page; |
179 | DECLARE_PCI_UNMAP_ADDR(mapping) | 179 | DEFINE_DMA_UNMAP_ADDR(mapping); |
180 | }; | 180 | }; |
181 | 181 | ||
182 | union db_prod { | 182 | union db_prod { |