summaryrefslogtreecommitdiff
path: root/arch/sparc64
diff options
context:
space:
mode:
authorBenjamin Li <benli@broadcom.com>2008-10-09 19:26:41 (GMT)
committerDavid S. Miller <davem@davemloft.net>2008-10-09 19:26:41 (GMT)
commit3d16af8665504c89f9ef3aae56f54fb93e48da61 (patch)
tree465889b9ddae41530e7203d0eb97e7661fb2db93 /arch/sparc64
parenta1efb4b686babf38e5e63add8b990f18e38becc4 (diff)
downloadlinux-3d16af8665504c89f9ef3aae56f54fb93e48da61.tar.xz
bnx2: Handle DMA mapping errors.
Before, the driver would not care about the return codes from pci_map_* functions. This could be potentially dangerous if a mapping failed. Now, we will check all pci_map_* calls. On the transmit side, we switch to use the new function skb_dma_map(). On the receive side, we add pci_dma_mapping_error(). Signed-off-by: Benjamin Li <benli@broadcom.com> Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64')
0 files changed, 0 insertions, 0 deletions