diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-27 10:57:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-16 02:29:31 -0400 |
commit | 10fc51b9953112ade61e33ff2f6f005f005a2361 (patch) | |
tree | 47d268ef493f5d7dab138c775c05d37f3c25bf65 /drivers/net/skge.h | |
parent | e3826f1e946e7d2354943232f1457be1455a29e2 (diff) |
skge: 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>
Acked-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/skge.h')
-rw-r--r-- | drivers/net/skge.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/skge.h b/drivers/net/skge.h index 831de1b6e96e..507addcaffa3 100644 --- a/drivers/net/skge.h +++ b/drivers/net/skge.h | |||
@@ -2393,8 +2393,8 @@ struct skge_element { | |||
2393 | struct skge_element *next; | 2393 | struct skge_element *next; |
2394 | void *desc; | 2394 | void *desc; |
2395 | struct sk_buff *skb; | 2395 | struct sk_buff *skb; |
2396 | DECLARE_PCI_UNMAP_ADDR(mapaddr); | 2396 | DEFINE_DMA_UNMAP_ADDR(mapaddr); |
2397 | DECLARE_PCI_UNMAP_LEN(maplen); | 2397 | DEFINE_DMA_UNMAP_LEN(maplen); |
2398 | }; | 2398 | }; |
2399 | 2399 | ||
2400 | struct skge_ring { | 2400 | struct skge_ring { |