diff options
author | Matt Carlson <mcarlson@broadcom.com> | 2009-11-02 14:25:31 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-02 23:39:02 -0800 |
commit | a21771dd189b340328c573da9e005068e8a74c53 (patch) | |
tree | 84181a65a4e13edd6b14898e1747d8c84240c6c8 /drivers/net/3c527.h | |
parent | 52cdf8526fe24f11d300b75458ddee017f3f4c88 (diff) |
tg3: Add more PCI DMA map error checking
This patch adds code to check the status of pci_map_single() before
allowing rx buffers to be used. It also converts the pci_map_single()
call in tg3_run_loopback() to use skb_dma_map() instead.
Signed-off-by: Matt Carlson <mcarlson@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: Benjamin Li <benli@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/3c527.h')
0 files changed, 0 insertions, 0 deletions