summaryrefslogtreecommitdiff
path: root/include/linux/davinci_emac.h
diff options
context:
space:
mode:
authorSriramakrishnan <srk@ti.com>2009-11-19 15:58:26 +0530
committerKevin Hilman <khilman@deeprootsystems.com>2010-02-04 13:29:51 -0800
commit01a9af36cd9d25fc71e28192974732d8053bd1c0 (patch)
treebc815e6b3927cfbc0be005bb66a363570de4f388 /include/linux/davinci_emac.h
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/linux/davinci_emac.h')
-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 {
u32 mdio_max_freq;
u8 rmii_en;
u8 version;
+ void (*interrupt_enable) (void);
+ void (*interrupt_disable) (void);
};
enum {