]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit45bf9e6b658b06fc9cc3cf4d5ccaaf3d06b9022f
tree905c6f7f078b0fcb8427d28f7a4bd23082316f1f
parent5a8504fad33e63cb786e4641b2a493858c189d5e
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: df00cdf975a374a3d9fb15c4208b1e4bda596efa

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