diff options
author | Sriramakrishnan <srk@ti.com> | 2009-11-19 05:28:26 -0500 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2010-02-04 16:29:51 -0500 |
commit | 01a9af36cd9d25fc71e28192974732d8053bd1c0 (patch) | |
tree | bc815e6b3927cfbc0be005bb66a363570de4f388 /include/linux/davinci_emac.h | |
parent | 8ee2bf9ab792d0c02b13ca3acbd036debb7745d9 (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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/davinci_emac.h b/include/linux/davinci_emac.h index ff5548747df..6d894efd8a3 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 | ||
30 | enum { | 32 | enum { |