patch-2.4.22 linux-2.4.22/include/asm-sh/machvec.h
Next file: linux-2.4.22/include/asm-sh/mc146818rtc.h
Previous file: linux-2.4.22/include/asm-sh/kgdb.h
Back to the patch index
Back to the overall index
- Lines: 72
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-sh/machvec.h
- Orig date:
2001-09-08 12:29:09.000000000 -0700
diff -urN linux-2.4.21/include/asm-sh/machvec.h linux-2.4.22/include/asm-sh/machvec.h
@@ -67,6 +67,7 @@
int (*mv_rtc_settimeofday)(const struct timeval *tv);
unsigned int mv_hw_se : 1;
+ unsigned int mv_hw_shmse : 1;
unsigned int mv_hw_hp600 : 1;
unsigned int mv_hw_hp620 : 1;
unsigned int mv_hw_hp680 : 1;
@@ -76,8 +77,10 @@
unsigned int mv_hw_hd64465 : 1;
unsigned int mv_hw_dreamcast : 1;
unsigned int mv_hw_bigsur : 1;
+ unsigned int mv_hw_hs7729pci : 1;
unsigned int mv_hw_7751se: 1;
unsigned int mv_hw_adx : 1;
+ unsigned int mv_hw_snapgear : 1;
};
extern struct sh_machine_vector sh_mv;
@@ -85,6 +88,7 @@
/* Machine check macros */
#ifdef CONFIG_SH_GENERIC
#define MACH_SE (sh_mv.mv_hw_se)
+#define MACH_SHMSE (sh_mv.mv_hw_shmse)
#define MACH_HP600 (sh_mv.mv_hw_hp600)
#define MACH_HP620 (sh_mv.mv_hw_hp620)
#define MACH_HP680 (sh_mv.mv_hw_hp680)
@@ -94,8 +98,10 @@
#define MACH_SH2000 (sh_mv.mv_hw_sh2000)
#define MACH_DREAMCAST (sh_mv.mv_hw_dreamcast)
#define MACH_BIGSUR (sh_mv.mv_hw_bigsur)
+#define MACH_HS7729PCI (sh_mv.mv_hw_hs7729pci)
#define MACH_7751SE (sh_mv.mv_hw_7751se)
#define MACH_ADX (sh_mv.mv_hw_adx)
+#define MACH_SNAPGEAR (sh_mv.mv_snapgear)
#else
# ifdef CONFIG_SH_SOLUTION_ENGINE
# define MACH_SE 1
@@ -107,6 +113,11 @@
# else
# define MACH_7751SE 0
# endif
+# ifdef CONFIG_SH_MOBILE_SOLUTION_ENGINE
+# define MACH_SHMSE 1
+# else
+# define MACH_SHMSE 0
+# endif
# ifdef CONFIG_SH_HP600
# define MACH_HP600 1
# else
@@ -157,11 +168,21 @@
# else
# define MACH_BIGSUR 0
# endif
+# ifdef CONFIG_SH_HS7729PCI
+# define MACH_HS7729PCI 1
+# else
+# define MACH_HS7729PCI 0
+# endif
# ifdef CONFIG_SH_ADX
# define MACH_ADX 1
# else
# define MACH_ADX 0
# endif
+# ifdef CONFIG_SH_SECUREEDGE5410
+# define MACH_SNAPGEAR 1
+# else
+# define MACH_SNAPGEAR 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)