xref: /openbmc/linux/arch/mips/include/asm/dec/machtype.h (revision 384740dc)
1 /*
2  * Various machine type macros
3  *
4  * This file is subject to the terms and conditions of the GNU General Public
5  * License.  See the file "COPYING" in the main directory of this archive
6  * for more details.
7  *
8  * Copyright (c) 1998, 2000 Harald Koerfgen
9  */
10 
11 #ifndef __ASM_DEC_MACHTYPE_H
12 #define __ASM_DEC_MACHTYPE_H
13 
14 #include <asm/bootinfo.h>
15 
16 #define TURBOCHANNEL	(mips_machtype == MACH_DS5000_200 || \
17 			 mips_machtype == MACH_DS5000_1XX || \
18 			 mips_machtype == MACH_DS5000_XX  || \
19 			 mips_machtype == MACH_DS5000_2X0 || \
20 			 mips_machtype == MACH_DS5900)
21 
22 #define IOASIC		(mips_machtype == MACH_DS5000_1XX || \
23 			 mips_machtype == MACH_DS5000_XX  || \
24 			 mips_machtype == MACH_DS5000_2X0 || \
25 			 mips_machtype == MACH_DS5900)
26 
27 #endif
28