diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-03-31 18:13:06 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-01 21:38:33 -0400 |
commit | 430e55b11e9756bb7648fc1cdf5063e385cd6dec (patch) | |
tree | f79e34fbaccd5b8c0211ff545d59dd902a957940 /drivers/net/acenic.h | |
parent | 07e7de8f7a7146b3ac77c52ebd91c93a8370d9a8 (diff) |
acenic: use the dma state API instead of the pci equivalents
The DMA API is preferred.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/acenic.h')
-rw-r--r-- | drivers/net/acenic.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/acenic.h b/drivers/net/acenic.h index 17079b927ffa..0681da7e8753 100644 --- a/drivers/net/acenic.h +++ b/drivers/net/acenic.h | |||
@@ -589,7 +589,7 @@ struct ace_info { | |||
589 | 589 | ||
590 | struct ring_info { | 590 | struct ring_info { |
591 | struct sk_buff *skb; | 591 | struct sk_buff *skb; |
592 | DECLARE_PCI_UNMAP_ADDR(mapping) | 592 | DEFINE_DMA_UNMAP_ADDR(mapping); |
593 | }; | 593 | }; |
594 | 594 | ||
595 | 595 | ||
@@ -600,8 +600,8 @@ struct ring_info { | |||
600 | */ | 600 | */ |
601 | struct tx_ring_info { | 601 | struct tx_ring_info { |
602 | struct sk_buff *skb; | 602 | struct sk_buff *skb; |
603 | DECLARE_PCI_UNMAP_ADDR(mapping) | 603 | DEFINE_DMA_UNMAP_ADDR(mapping); |
604 | DECLARE_PCI_UNMAP_LEN(maplen) | 604 | DEFINE_DMA_UNMAP_LEN(maplen); |
605 | }; | 605 | }; |
606 | 606 | ||
607 | 607 | ||