summaryrefslogtreecommitdiff
path: root/include/asm-sh/se.h
diff options
context:
space:
mode:
authorStephen Rothwell <sfr@canb.auug.org.au>2008-06-30 15:06:36 +1000
committerStephen Rothwell <sfr@canb.auug.org.au>2008-06-30 15:06:36 +1000
commit0a465d76e491e5a7e774b07416495a0feb9d4c92 (patch)
tree3685c183720ccab6f426e16a180b6156423a6e98 /include/asm-sh/se.h
parent9452ef7f839735d0dab666cf275f1115beaaf4ee (diff)
parent8cf5861fee48e37bd3288124476c33e699da64a9 (diff)
Merge commit 'sh/master'
Diffstat (limited to 'include/asm-sh/se.h')
-rw-r--r--include/asm-sh/se.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/asm-sh/se.h b/include/asm-sh/se.h
index bd2596c014a9..eb23000e1bbe 100644
--- a/include/asm-sh/se.h
+++ b/include/asm-sh/se.h
@@ -76,6 +76,23 @@
#define IRQ_CFCARD 7
#endif
+/* SH Ether support (SH7710/SH7712) */
+/* Base address */
+#define SH_ETH0_BASE 0xA7000000
+#define SH_ETH1_BASE 0xA7000400
+/* PHY ID */
+#if defined(CONFIG_CPU_SUBTYPE_SH7710)
+# define PHY_ID 0x00
+#elif defined(CONFIG_CPU_SUBTYPE_SH7712)
+# define PHY_ID 0x01
+#endif
+/* Ether IRQ */
+#define SH_ETH0_IRQ 80
+#define SH_ETH1_IRQ 81
+#define SH_TSU_IRQ 82
+
+void init_se_IRQ(void);
+
#define __IO_PREFIX se
#include <asm/io_generic.h>