]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitdf00cdf975a374a3d9fb15c4208b1e4bda596efa
treee3e9afaaeba664372878105d18a2aae9d500caf0
parent22482756b29bfbc6eae844f148d23d6db7839cc4
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