aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSriramakrishnan <srk@ti.com>2009-11-19 05:28:26 -0500
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 16:29:51 -0500
commit01a9af36cd9d25fc71e28192974732d8053bd1c0 (patch)
treebc815e6b3927cfbc0be005bb66a363570de4f388 /include
parent8ee2bf9ab792d0c02b13ca3acbd036debb7745d9 (diff)
TI Davinci EMAC : add platform specific interrupt enable/disable logic.
On certain SOCs, the EMAC controller is interfaced with a wrapper logic for handling interrupts. This patch implements a platform specific hook to cater to platforms that require custom interrupt handling 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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/davinci_emac.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/davinci_emac.h b/include/linux/davinci_emac.h
index ff5548747df4..6d894efd8a3f 100644
--- a/include/linux/davinci_emac.h
+++ b/include/linux/davinci_emac.h
@@ -25,6 +25,8 @@ struct emac_platform_data {
25 u32 mdio_max_freq; 25 u32 mdio_max_freq;
26 u8 rmii_en; 26 u8 rmii_en;
27 u8 version; 27 u8 version;
28 void (*interrupt_enable) (void);
29 void (*interrupt_disable) (void);
28}; 30};
29 31
30enum { 32enum {