aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2009-06-17 21:17:59 +0000
committerDavid S. Miller <[email protected]>2009-06-18 00:46:13 -0700
commit73a370795371e41f72aeca61656d47adeadf28e5 (patch)
treecfef861074052a586e7b97a23b71e14ce2ea04e0 /drivers/mtd/lpddr/lpddr_cmds.c
parent81e2a3d5b75cbf0b42428b9d5a7cc7c85be9e7a7 (diff)
forcedeth: fix dma api mismatches
forcedeth doesnt use properly dma api in its tx completion path and in nv_loopback_test() pci_map_single() should be paired with pci_unmap_single() pci_map_page() should be paired with pci_unmap_page() forcedeth xmit path uses pci_map_single() & pci_map_page(), but tx completion path only uses pci_unmap_single() nv_loopback_test() uses pci_map_single() & pci_unmap_page() Add a dma_single field in struct nv_skb_map, and define a helper function nv_unmap_txskb Signed-off-by: Eric Dumazet <[email protected]> CC: Ayaz Abdulla <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions