diff options
author | Sriramakrishnan <srk@ti.com> | 2009-11-19 05:28:27 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-04 16:29:53 -0500 |
commit | ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2 (patch) | |
tree | e3e9afaaeba664372878105d18a2aae9d500caf0 /include | |
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')
-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 6d894efd8a3f..7c930dba477c 100644 --- a/include/linux/davinci_emac.h +++ b/include/linux/davinci_emac.h | |||
@@ -19,6 +19,7 @@ struct emac_platform_data { | |||
19 | u32 ctrl_reg_offset; | 19 | u32 ctrl_reg_offset; |
20 | u32 ctrl_mod_reg_offset; | 20 | u32 ctrl_mod_reg_offset; |
21 | u32 ctrl_ram_offset; | 21 | u32 ctrl_ram_offset; |
22 | u32 hw_ram_addr; | ||
22 | u32 mdio_reg_offset; | 23 | u32 mdio_reg_offset; |
23 | u32 ctrl_ram_size; | 24 | u32 ctrl_ram_size; |
24 | u32 phy_mask; | 25 | u32 phy_mask; |