diff options
author | Benjamin Li <benli@broadcom.com> | 2008-10-09 19:26:41 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-09 19:26:41 (GMT) |
commit | 3d16af8665504c89f9ef3aae56f54fb93e48da61 (patch) | |
tree | 465889b9ddae41530e7203d0eb97e7661fb2db93 /arch/m68k | |
parent | a1efb4b686babf38e5e63add8b990f18e38becc4 (diff) | |
download | linux-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/m68k')
0 files changed, 0 insertions, 0 deletions