TI Davinci EMAC : Abstract Buffer address translation logic.
authorSriramakrishnan <srk@ti.com>
Thu, 19 Nov 2009 10:28:27 +0000 (15:58 +0530)
committerKevin Hilman <khilman@deeprootsystems.com>
Thu, 4 Feb 2010 21:29:53 +0000 (13:29 -0800)
commitad021ae8862209864dc8ebd3b7d3a55ce84b9ea2
treee3e9afaaeba664372878105d18a2aae9d500caf0
parent01a9af36cd9d25fc71e28192974732d8053bd1c0
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>
drivers/net/davinci_emac.c
include/linux/davinci_emac.h