aboutsummaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorJie Yang <jie.yang@atheros.com>2009-09-17 10:27:28 -0700
committerDavid S. Miller <davem@davemloft.net>2009-09-17 10:27:28 -0700
commit03f18991614cba1fa5be5dcd1a79b0e30ac44c50 (patch)
tree2b01d55c9c106d391c0ce9f01c9a6d240672ec81 /include/linux/netdevice.h
parenta19d2158439d6fba8160d7d2446f233f525f09e7 (diff)
atl1e: fix 2.6.31-git4 -- ATL1E 0000:03:00.0: DMA-API: device driver frees DMA
use the wrong API when free dma. So when map dma use a flag to demostrate whether it is 'pci_map_single' or 'pci_map_page'. When free the dma, check the flags to select the right APIs('pci_unmap_single' or 'pci_unmap_page'). set the flags type to u16 instead of unsigned long on David's comments. Signed-off-by: Jie Yang <jie.yang@atheros.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions