aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSriramakrishnan <srk@ti.com>2009-11-19 15:58:27 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 13:29:53 -0800
commitad021ae8862209864dc8ebd3b7d3a55ce84b9ea2 (patch)
treee3e9afaaeba664372878105d18a2aae9d500caf0 /include
parent01a9af36cd9d25fc71e28192974732d8053bd1c0 (diff)
downloadkernel_samsung_tuna-ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2.zip
kernel_samsung_tuna-ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2.tar.gz
kernel_samsung_tuna-ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2.tar.bz2
TI Davinci EMAC : Abstract Buffer address translation logic.
When programming the DMA engine, the next pointers must be programmed with physical address as seen from the DMA master address space. This address may be different from physical address of the buffer RAM area. This patch abstracts the buffer address translation logic. Signed-off-by: Sriramakrishnan <srk@ti.com> Acked-by: Chaithrika U S <chaithrika@ti.com> Acked-by: David S. Miller <davem@davemloft.net> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/davinci_emac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/davinci_emac.h b/include/linux/davinci_emac.h
index 6d894ef..7c930db 100644
--- a/include/linux/davinci_emac.h
+++ b/include/linux/davinci_emac.h
@@ -19,6 +19,7 @@ struct emac_platform_data {
u32 ctrl_reg_offset;
u32 ctrl_mod_reg_offset;
u32 ctrl_ram_offset;
+ u32 hw_ram_addr;
u32 mdio_reg_offset;
u32 ctrl_ram_size;
u32 phy_mask;