net: davinci_emac:Fix translation logic for buffer descriptor
authorSriram <srk@ti.com>
Tue, 22 Mar 2011 02:31:03 +0000 (02:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 23 Mar 2011 02:25:05 +0000 (19:25 -0700)
commit6a1fef6d000944911df0f160f366111daa10740a
tree905c6f7f078b0fcb8427d28f7a4bd23082316f1f
parent9c7a4f9ce651383c73dfdff3d7e21d5f9572c4ec
net: davinci_emac:Fix translation logic for buffer descriptor

With recent changes to the driver(switch to new cpdma layer),
the support for buffer descriptor address translation logic
is broken. This affects platforms where the physical address of
the descriptors as seen by the DMA engine is different from the
physical address.

Original Patch adding translation logic support:
Commit: ad021ae8862209864dc8ebd3b7d3a55ce84b9ea2

Signed-off-by: Sriramakrishnan A G <srk@ti.com>
Tested-By: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/davinci_cpdma.c
drivers/net/davinci_cpdma.h
drivers/net/davinci_emac.c
include/linux/davinci_emac.h