diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-27 14:57:04 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-05-15 23:29:31 -0700 |
commit | 10fc51b9953112ade61e33ff2f6f005f005a2361 (patch) | |
tree | 47d268ef493f5d7dab138c775c05d37f3c25bf65 /drivers/net/skge.h | |
parent | e3826f1e946e7d2354943232f1457be1455a29e2 (diff) | |
download | kernel_goldelico_gta04-10fc51b9953112ade61e33ff2f6f005f005a2361.zip kernel_goldelico_gta04-10fc51b9953112ade61e33ff2f6f005f005a2361.tar.gz kernel_goldelico_gta04-10fc51b9953112ade61e33ff2f6f005f005a2361.tar.bz2 |
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 831de1b..507addc 100644 --- a/drivers/net/skge.h +++ b/drivers/net/skge.h @@ -2393,8 +2393,8 @@ struct skge_element { struct skge_element *next; void *desc; struct sk_buff *skb; - DECLARE_PCI_UNMAP_ADDR(mapaddr); - DECLARE_PCI_UNMAP_LEN(maplen); + DEFINE_DMA_UNMAP_ADDR(mapaddr); + DEFINE_DMA_UNMAP_LEN(maplen); }; struct skge_ring { |