aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/skge.h
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2010-04-27 10:57:04 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-16 02:29:31 -0400
commit10fc51b9953112ade61e33ff2f6f005f005a2361 (patch)
tree47d268ef493f5d7dab138c775c05d37f3c25bf65 /drivers/net/skge.h
parente3826f1e946e7d2354943232f1457be1455a29e2 (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.h4
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
2400struct skge_ring { 2400struct skge_ring {