git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-m68knommu
/
mcfsim.h
diff --git
a/include/asm-m68knommu/mcfsim.h
b/include/asm-m68knommu/mcfsim.h
index
522e513
..
1074ae7
100644
(file)
--- a/
include/asm-m68knommu/mcfsim.h
+++ b/
include/asm-m68knommu/mcfsim.h
@@
-12,16
+12,19
@@
#define mcfsim_h
/****************************************************************************/
#define mcfsim_h
/****************************************************************************/
-#include <linux/config.h>
/*
/*
- * Include 5204, 5206/e, 52
49, 5270/5271, 5272, 5280/5282, 5307 or
- * 5407 specific addresses.
+ * Include 5204, 5206/e, 52
35, 5249, 5270/5271, 5272, 5280/5282,
+ * 5
307 or 5
407 specific addresses.
*/
#if defined(CONFIG_M5204)
#include <asm/m5204sim.h>
#elif defined(CONFIG_M5206) || defined(CONFIG_M5206e)
#include <asm/m5206sim.h>
*/
#if defined(CONFIG_M5204)
#include <asm/m5204sim.h>
#elif defined(CONFIG_M5206) || defined(CONFIG_M5206e)
#include <asm/m5206sim.h>
+#elif defined(CONFIG_M520x)
+#include <asm/m520xsim.h>
+#elif defined(CONFIG_M523x)
+#include <asm/m523xsim.h>
#elif defined(CONFIG_M5249)
#include <asm/m5249sim.h>
#elif defined(CONFIG_M527x)
#elif defined(CONFIG_M5249)
#include <asm/m5249sim.h>
#elif defined(CONFIG_M527x)
@@
-32,6
+35,8
@@
#include <asm/m528xsim.h>
#elif defined(CONFIG_M5307)
#include <asm/m5307sim.h>
#include <asm/m528xsim.h>
#elif defined(CONFIG_M5307)
#include <asm/m5307sim.h>
+#elif defined(CONFIG_M532x)
+#include <asm/m532xsim.h>
#elif defined(CONFIG_M5407)
#include <asm/m5407sim.h>
#endif
#elif defined(CONFIG_M5407)
#include <asm/m5407sim.h>
#endif
@@
-98,6
+103,20
@@
#endif
#endif
+/*
+ * PIT interrupt settings, if not found in mXXXXsim.h file.
+ */
+#ifndef ICR_INTRCONF
+#define ICR_INTRCONF 0x2b /* PIT1 level 5, priority 3 */
+#endif
+#ifndef MCFPIT_IMR
+#define MCFPIT_IMR MCFINTC_IMRH
+#endif
+#ifndef MCFPIT_IMR_IBIT
+#define MCFPIT_IMR_IBIT (1 << (MCFINT_PIT1 - 32))
+#endif
+
+
#ifndef __ASSEMBLY__
/*
* Definition for the interrupt auto-vectoring support.
#ifndef __ASSEMBLY__
/*
* Definition for the interrupt auto-vectoring support.