patch-2.3.99-pre8 linux/include/asm-arm/system.h
Next file: linux/include/asm-i386/string-486.h
Previous file: linux/include/asm-arm/proc-fns.h
Back to the patch index
Back to the overall index
- Lines: 150
- Date:
Fri May 12 11:21:20 2000
- Orig file:
v2.3.99-pre7/linux/include/asm-arm/system.h
- Orig date:
Wed Apr 26 16:34:09 2000
diff -u --recursive --new-file v2.3.99-pre7/linux/include/asm-arm/system.h linux/include/asm-arm/system.h
@@ -34,11 +34,18 @@
#define MACH_TYPE_SHARK 15
#define MACH_TYPE_BRUTUS 16
#define MACH_TYPE_PERSONAL_SERVER 17
+#define MACH_TYPE_SA1100 18 /* unused/too general */
+#define MACH_TYPE_L7200 19
+#define MACH_TYPE_SA1110 20 /* unused/too general */
+#define MACH_TYPE_INTEGRATOR 21
#define MACH_TYPE_BITSY 22
+#define MACH_TYPE_IXP1200 23
#define MACH_TYPE_THINCLIENT 24
#define MACH_TYPE_ASSABET 25
#define MACH_TYPE_VICTOR 26
#define MACH_TYPE_LART 27
+#define MACH_TYPE_RANGER 28
+#define MACH_TYPE_GRAPHICSCLIENT 29
/*
* Sort out a definition for machine_arch_type
@@ -53,6 +60,9 @@
* - switch (machine_arch_type) { }
* - if (machine_arch_type = xxxx)
* - __machine_arch_type
+ *
+ * Please note that these are kept in numeric order (ie, the same
+ * order as the list above).
*/
#ifdef CONFIG_ARCH_EBSA110
# ifdef machine_arch_type
@@ -198,28 +208,40 @@
# define machine_is_personal_server() (0)
#endif
-#ifdef CONFIG_SA1100_ITSY
+#ifdef CONFIG_ARCH_L7200
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
-# define machine_arch_type MACH_TYPE_ITSY
+# define machine_arch_type MACH_TYPE_L7200
# endif
-# define machine_is_itsy() (machine_arch_type == MACH_TYPE_ITSY)
+# define machine_is_l7200() (machine_arch_type == MACH_TYPE_L7200)
#else
-# define machine_is_itsy() (0)
+# define machine_is_l7200() (0)
#endif
-#ifdef CONFIG_SA1100_EMPEG
+#ifdef CONFIG_SA1100_BITSY
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
-# define machine_arch_type MACH_TYPE_EMPEG
+# define machine_arch_type MACH_TYPE_BITSY
# endif
-# define machine_is_empeg() (machine_arch_type == MACH_TYPE_EMPEG)
+# define machine_is_bitsy() (machine_arch_type == MACH_TYPE_BITSY)
#else
-# define machine_is_empeg() (0)
+# define machine_is_bitsy() (0)
+#endif
+
+#ifdef CONFIG_SA1100_THINCLIENT
+# ifdef machine_arch_type
+# undef machine_arch_type
+# define machine_arch_type __machine_arch_type
+# else
+# define machine_arch_type MACH_TYPE_THINCLIENT
+# endif
+# define machine_is_thinclient() (machine_arch_type == MACH_TYPE_THINCLIENT)
+#else
+# define machine_is_thinclient() (0)
#endif
#ifdef CONFIG_SA1100_ASSABET
@@ -258,52 +280,55 @@
# define machine_is_lart() (0)
#endif
-#ifdef CONFIG_SA1100_BITSY
+/*
+ * The following are currently unregistered
+ */
+#ifdef CONFIG_SA1100_ITSY
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
-# define machine_arch_type MACH_TYPE_BITSY
+# define machine_arch_type MACH_TYPE_ITSY
# endif
-# define machine_is_bitsy() (machine_arch_type == MACH_TYPE_BITSY)
+# define machine_is_itsy() (machine_arch_type == MACH_TYPE_ITSY)
#else
-# define machine_is_bitsy() (0)
+# define machine_is_itsy() (0)
#endif
-#ifdef CONFIG_SA1100_TIFON
+#ifdef CONFIG_SA1100_EMPEG
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
-# define machine_arch_type MACH_TYPE_TIFON
+# define machine_arch_type MACH_TYPE_EMPEG
# endif
-# define machine_is_tifon() (machine_arch_type == MACH_TYPE_TIFON)
+# define machine_is_empeg() (machine_arch_type == MACH_TYPE_EMPEG)
#else
-# define machine_is_tifon() (0)
+# define machine_is_empeg() (0)
#endif
-#ifdef CONFIG_SA1100_PLEB
+#ifdef CONFIG_SA1100_TIFON
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
-# define machine_arch_type MACH_TYPE_PLEB
+# define machine_arch_type MACH_TYPE_TIFON
# endif
-# define machine_is_pleb() (machine_arch_type == MACH_TYPE_PLEB)
+# define machine_is_tifon() (machine_arch_type == MACH_TYPE_TIFON)
#else
-# define machine_is_pleb() (0)
+# define machine_is_tifon() (0)
#endif
-#ifdef CONFIG_SA1100_THINCLIENT
+#ifdef CONFIG_SA1100_PLEB
# ifdef machine_arch_type
# undef machine_arch_type
# define machine_arch_type __machine_arch_type
# else
-# define machine_arch_type MACH_TYPE_THINCLIENT
+# define machine_arch_type MACH_TYPE_PLEB
# endif
-# define machine_is_thinclient() (machine_arch_type == MACH_TYPE_THINCLIENT)
+# define machine_is_pleb() (machine_arch_type == MACH_TYPE_PLEB)
#else
-# define machine_is_thinclient() (0)
+# define machine_is_pleb() (0)
#endif
#ifdef CONFIG_SA1100_PENNY
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)