linux-hardened/drivers/net/cxgb3
Divy Le Ray 10b6d95612 cxgb3: fix dma mapping regression
Commit 5e68b772e6
  cxgb3: map entire Rx page, feed map+offset to Rx ring.

introduced a regression on platforms defining DECLARE_PCI_UNMAP_ADDR()
and related macros as no-ops.

Rx descriptors are fed with the a page buffer bus address + page chunk offset.
The page buffer bus address is set and retrieved through
pci_unamp_addr_set(), pci_unmap_addr().
These functions being meaningless on x86 (if CONFIG_DMA_API_DEBUG is not set).
The HW ends up with a bogus bus address.

This patch saves the page buffer bus address for all plaftorms.

Signed-off-by: Divy Le Ray <divy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-05-29 01:54:37 -07:00
..
adapter.h cxgb3: fix dma mapping regression 2009-05-29 01:54:37 -07:00
ael1002.c drivers/net/cxgb3: fix sparse warnings: fix signedness 2009-02-17 17:26:10 -08:00
common.h cxgb3: differentiate portx and Tx channels 2009-03-27 00:46:58 -07:00
cxgb3_ctl_defs.h cxgb3: add control to access embedded images 2008-12-26 01:16:39 -08:00
cxgb3_defs.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_ioctl.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
cxgb3_main.c cxgb3: Fix EEH final recovery attempt 2009-04-20 02:07:27 -07:00
cxgb3_offload.c cxgb3: Notify fatal errors 2009-01-26 22:21:59 -08:00
cxgb3_offload.h cxgb3: Notify fatal errors 2009-01-26 22:21:59 -08:00
firmware_exports.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
l2t.c cxgb3: Fix kernel crash caused by uninitialized l2t_entry.arpq 2008-10-22 06:22:14 -04:00
l2t.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
Makefile
mc5.c cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
regs.h cxgb3: detect mac link faults. 2009-03-13 11:30:47 -07:00
sge.c cxgb3: fix dma mapping regression 2009-05-29 01:54:37 -07:00
sge_defs.h cxgb3 - Set the CQ_ERR bit in CQ contexts. 2007-10-10 16:51:05 -07:00
t3_cpl.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
t3_hw.c cxgb3: fixing gcc 4.4 compiler warning: suggest parentheses around operand of ‘!’ 2009-05-01 09:15:09 -07:00
t3cdev.h cxgb3: extend copyrights to 2008 2008-10-13 18:47:30 -07:00
version.h cxgb3: update driver version 2009-03-13 11:30:49 -07:00
vsc8211.c drivers/net/cxgb3: comment out dead code 2008-12-25 23:59:28 -08:00
xgmac.c cxgb3: detect mac link faults. 2009-03-13 11:30:47 -07:00