patch-2.4.23 linux-2.4.23/include/asm-sh/machvec.h

Next file: linux-2.4.23/include/asm-sh/pci.h
Previous file: linux-2.4.23/include/asm-sh/irq_microdev.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/include/asm-sh/machvec.h linux-2.4.23/include/asm-sh/machvec.h
@@ -81,6 +81,7 @@
 	unsigned int mv_hw_7751se: 1;
 	unsigned int mv_hw_adx : 1;
 	unsigned int mv_hw_snapgear : 1;
+	unsigned int mv_hw_sh4202_microdev : 1;
 };
 
 extern struct sh_machine_vector sh_mv;
@@ -102,6 +103,7 @@
 #define MACH_7751SE	(sh_mv.mv_hw_7751se)
 #define MACH_ADX	(sh_mv.mv_hw_adx)
 #define MACH_SNAPGEAR	(sh_mv.mv_snapgear)
+#define MACH_SH4202_MICRODEV	(sh_mv.mv_hw_sh4202_microdev)
 #else
 # ifdef CONFIG_SH_SOLUTION_ENGINE
 #  define MACH_SE		1
@@ -183,6 +185,11 @@
 # else
 #  define MACH_SNAPGEAR		0
 # endif
+# ifdef CONFIG_SH_SH4202_MICRODEV
+#  define MACH_SH4202_MICRODEV	1
+# else
+#  define MACH_SH4202_MICRODEV	0
+# endif
 #endif
 
 #endif /* _ASM_SH_MACHVEC_H */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)