diff options
author | Sriramakrishnan <srk@ti.com> | 2009-11-19 15:58:27 +0530 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-04 13:29:53 -0800 |
commit | ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2 (patch) | |
tree | e3e9afaaeba664372878105d18a2aae9d500caf0 /include/linux | |
parent | 01a9af36cd9d25fc71e28192974732d8053bd1c0 (diff) |
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/linux')
-rw-r--r-- | include/linux/davinci_emac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/davinci_emac.h b/include/linux/davinci_emac.h index 6d894efd8a3..7c930dba477 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; |