xref: /openbmc/linux/arch/mips/include/asm/dec/machtype.h (revision 384740dc)
1384740dcSRalf Baechle /*
2384740dcSRalf Baechle  * Various machine type macros
3384740dcSRalf Baechle  *
4384740dcSRalf Baechle  * This file is subject to the terms and conditions of the GNU General Public
5384740dcSRalf Baechle  * License.  See the file "COPYING" in the main directory of this archive
6384740dcSRalf Baechle  * for more details.
7384740dcSRalf Baechle  *
8384740dcSRalf Baechle  * Copyright (c) 1998, 2000 Harald Koerfgen
9384740dcSRalf Baechle  */
10384740dcSRalf Baechle 
11384740dcSRalf Baechle #ifndef __ASM_DEC_MACHTYPE_H
12384740dcSRalf Baechle #define __ASM_DEC_MACHTYPE_H
13384740dcSRalf Baechle 
14384740dcSRalf Baechle #include <asm/bootinfo.h>
15384740dcSRalf Baechle 
16384740dcSRalf Baechle #define TURBOCHANNEL	(mips_machtype == MACH_DS5000_200 || \
17384740dcSRalf Baechle 			 mips_machtype == MACH_DS5000_1XX || \
18384740dcSRalf Baechle 			 mips_machtype == MACH_DS5000_XX  || \
19384740dcSRalf Baechle 			 mips_machtype == MACH_DS5000_2X0 || \
20384740dcSRalf Baechle 			 mips_machtype == MACH_DS5900)
21384740dcSRalf Baechle 
22384740dcSRalf Baechle #define IOASIC		(mips_machtype == MACH_DS5000_1XX || \
23384740dcSRalf Baechle 			 mips_machtype == MACH_DS5000_XX  || \
24384740dcSRalf Baechle 			 mips_machtype == MACH_DS5000_2X0 || \
25384740dcSRalf Baechle 			 mips_machtype == MACH_DS5900)
26384740dcSRalf Baechle 
27384740dcSRalf Baechle #endif
28