diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2010-04-01 20:53:22 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-08 07:59:25 +0400 |
commit | fac6da5b7a1b9779ba124ce92314d02378892855 (patch) | |
tree | 660e37967f9176b9e078602ecc8f302fad895195 /drivers/net/benet/be.h | |
parent | b0cf4dfb7cd21556efd9a6a67edcba0840b4d98d (diff) | |
download | linux-fac6da5b7a1b9779ba124ce92314d02378892855.tar.xz |
benet: 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>
Acked-by: Sathya Perla <sathyap@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be.h')
-rw-r--r-- | drivers/net/benet/be.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/benet/be.h b/drivers/net/benet/be.h index 20842c5fd8fb..45037fbd4ff1 100644 --- a/drivers/net/benet/be.h +++ b/drivers/net/benet/be.h @@ -208,7 +208,7 @@ struct be_tx_obj { /* Struct to remember the pages posted for rx frags */ struct be_rx_page_info { struct page *page; - dma_addr_t bus; + DEFINE_DMA_UNMAP_ADDR(bus); u16 page_offset; bool last_page_user; }; |