summaryrefslogtreecommitdiffstats
path: root/include/linux/davinci_emac.h
diff options
context:
space:
mode:
authorSriram <srk@ti.com>2011-03-22 02:31:03 +0000
committerDavid S. Miller <davem@davemloft.net>2011-03-22 19:25:05 -0700
commit6a1fef6d000944911df0f160f366111daa10740a (patch)
tree905c6f7f078b0fcb8427d28f7a4bd23082316f1f /include/linux/davinci_emac.h
parent9c7a4f9ce651383c73dfdff3d7e21d5f9572c4ec (diff)
downloadblackbird-op-linux-6a1fef6d000944911df0f160f366111daa10740a.tar.gz
blackbird-op-linux-6a1fef6d000944911df0f160f366111daa10740a.zip
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>
Diffstat (limited to 'include/linux/davinci_emac.h')
-rw-r--r--include/linux/davinci_emac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/davinci_emac.h b/include/linux/davinci_emac.h
index 5dd428532f79..542888504994 100644
--- a/include/linux/davinci_emac.h
+++ b/include/linux/davinci_emac.h
@@ -36,6 +36,7 @@ struct emac_platform_data {
u8 rmii_en;
u8 version;
+ bool no_bd_ram;
void (*interrupt_enable) (void);
void (*interrupt_disable) (void);
};
OpenPOWER on IntegriCloud