scsi: add DID_REQUEUE to the error handling
[linux-2.6] / include / asm-arm26 / mach-types.h
1 /*
2  * Unlike ARM32 this is NOT automatically generated. DONT delete it
3  * Instead, consider FIXME-ing it so its auto-detected.
4  */
5
6 #ifndef __ASM_ARM_MACH_TYPE_H
7 #define __ASM_ARM_MACH_TYPE_H
8
9 #include <linux/config.h>
10
11 #ifndef __ASSEMBLY__
12 extern unsigned int __machine_arch_type;
13 #endif
14
15 #define MACH_TYPE_ARCHIMEDES           10
16 #define MACH_TYPE_A5K                  11
17
18 #ifdef CONFIG_ARCH_ARC
19 # define machine_arch_type              MACH_TYPE_ARCHIMEDES
20 # define machine_is_archimedes()        (machine_arch_type == MACH_TYPE_ARCHIMEDES)
21 #else
22 # define machine_is_archimedes()        (0)
23 #endif
24
25 #ifdef CONFIG_ARCH_A5K
26 # define machine_arch_type              MACH_TYPE_A5K
27 # define machine_is_a5k()               (machine_arch_type == MACH_TYPE_A5K)
28 #else
29 # define machine_is_a5k()       (0)
30 #endif
31
32 #ifndef machine_arch_type
33 #error Unknown machine type
34 #define machine_arch_type       __machine_arch_type
35 #endif
36
37 #endif