diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-12 10:32:13 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-13 05:54:17 -0400 |
commit | 87196eb740f3f73105a5c13bbf7651b4b60daec1 (patch) | |
tree | e2d8489c7096276d09a47829be601414be5991e7 /drivers/net/qla3xxx.h | |
parent | 4e5e4f0d65975ce092202cce48b42571bf84591e (diff) |
qla3xxx: 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: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qla3xxx.h')
-rw-r--r-- | drivers/net/qla3xxx.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/qla3xxx.h b/drivers/net/qla3xxx.h index 7113e71b15a1..3362a661248c 100644 --- a/drivers/net/qla3xxx.h +++ b/drivers/net/qla3xxx.h | |||
@@ -998,8 +998,8 @@ enum link_state_t { | |||
998 | struct ql_rcv_buf_cb { | 998 | struct ql_rcv_buf_cb { |
999 | struct ql_rcv_buf_cb *next; | 999 | struct ql_rcv_buf_cb *next; |
1000 | struct sk_buff *skb; | 1000 | struct sk_buff *skb; |
1001 | DECLARE_PCI_UNMAP_ADDR(mapaddr); | 1001 | DEFINE_DMA_UNMAP_ADDR(mapaddr); |
1002 | DECLARE_PCI_UNMAP_LEN(maplen); | 1002 | DEFINE_DMA_UNMAP_LEN(maplen); |
1003 | __le32 buf_phy_addr_low; | 1003 | __le32 buf_phy_addr_low; |
1004 | __le32 buf_phy_addr_high; | 1004 | __le32 buf_phy_addr_high; |
1005 | int index; | 1005 | int index; |
@@ -1029,8 +1029,8 @@ struct oal { | |||
1029 | }; | 1029 | }; |
1030 | 1030 | ||
1031 | struct map_list { | 1031 | struct map_list { |
1032 | DECLARE_PCI_UNMAP_ADDR(mapaddr); | 1032 | DEFINE_DMA_UNMAP_ADDR(mapaddr); |
1033 | DECLARE_PCI_UNMAP_LEN(maplen); | 1033 | DEFINE_DMA_UNMAP_LEN(maplen); |
1034 | }; | 1034 | }; |
1035 | 1035 | ||
1036 | struct ql_tx_buf_cb { | 1036 | struct ql_tx_buf_cb { |