]> err.no Git - linux-2.6/blob - arch/arm/mach-ns9xxx/include/mach/processor.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
[linux-2.6] / arch / arm / mach-ns9xxx / include / mach / processor.h
1 /*
2  * arch/arm/mach-ns9xxx/include/mach/processor.h
3  *
4  * Copyright (C) 2006,2007 by Digi International Inc.
5  * All rights reserved.
6  *
7  * This program is free software; you can redistribute it and/or modify it
8  * under the terms of the GNU General Public License version 2 as published by
9  * the Free Software Foundation.
10  */
11 #ifndef __ASM_ARCH_PROCESSOR_H
12 #define __ASM_ARCH_PROCESSOR_H
13
14 #include <mach/module.h>
15
16 #define processor_is_ns9210()   (0                      \
17                 || module_is_cc7ucamry()                \
18                 || module_is_cc9p9210()                 \
19                 || module_is_inc20otter()               \
20                 || module_is_otter()                    \
21                 )
22
23 #define processor_is_ns9215()   (0                      \
24                 || module_is_cc9p9215()                 \
25                 )
26
27 #define processor_is_ns9360()   (0                      \
28                 || module_is_cc9p9360()                 \
29                 || module_is_cc9c()                     \
30                 || module_is_ccw9c()                    \
31                 )
32
33 #define processor_is_ns9750()   (0                      \
34                 || module_is_cc9p9750()                 \
35                 )
36
37 #define processor_is_ns921x()   (0                      \
38                 || processor_is_ns9210()                \
39                 || processor_is_ns9215()                \
40                 )
41
42 #endif /* ifndef __ASM_ARCH_PROCESSOR_H */