summaryrefslogtreecommitdiff
path: root/drivers/net/davinci_cpdma.h
diff options
context:
space:
mode:
authorSriram <srk@ti.com>2011-03-22 02:31:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-22 19:25:05 -0700
commit6a1fef6d000944911df0f160f366111daa10740a (patch)
tree905c6f7f078b0fcb8427d28f7a4bd23082316f1f /drivers/net/davinci_cpdma.h
parent9c7a4f9ce651383c73dfdff3d7e21d5f9572c4ec (diff)
net: davinci_emac:Fix translation logic for buffer descriptor
With recent changes to the driver(switch to new cpdma layer), the support for buffer descriptor address translation logic is broken. This affects platforms where the physical address of the descriptors as seen by the DMA engine is different from the physical address. Original Patch adding translation logic support: Commit: ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2 Signed-off-by: Sriramakrishnan A G <srk@ti.com> Tested-By: Sekhar Nori <nsekhar@ti.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/davinci_cpdma.h')
-rw-r--r--drivers/net/davinci_cpdma.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/davinci_cpdma.h b/drivers/net/davinci_cpdma.h
index 868e50ebde45..afa19a0c0d81 100644
--- a/drivers/net/davinci_cpdma.h
+++ b/drivers/net/davinci_cpdma.h
@@ -33,6 +33,7 @@ struct cpdma_params {
bool has_soft_reset;
int min_packet_size;
u32 desc_mem_phys;
+ u32 desc_hw_addr;
int desc_mem_size;
int desc_align;