aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-10-03 05:31:08 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-11-26 05:09:18 -0500
commit7678e77d2a2fb2dd74a27b8283e030c580294a62 (patch)
tree6c7536fcc26e85aed8a22867f9e059ed1e84abc8 /arch/m68k
parent7bc449688bf73891625616f3f2e93e359603016b (diff)
m68k/UAPI: Move Apollo model definitions to <asm/bootinfo-apollo.h>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/include/asm/apollohw.h11
-rw-r--r--arch/m68k/include/uapi/asm/bootinfo-apollo.h12
2 files changed, 14 insertions, 9 deletions
diff --git a/arch/m68k/include/asm/apollohw.h b/arch/m68k/include/asm/apollohw.h
index 6c19e0c22411..87fc899d32ee 100644
--- a/arch/m68k/include/asm/apollohw.h
+++ b/arch/m68k/include/asm/apollohw.h
@@ -5,18 +5,11 @@
5 5
6#include <linux/types.h> 6#include <linux/types.h>
7 7
8/* 8#include <asm/bootinfo-apollo.h>
9 apollo models 9
10*/
11 10
12extern u_long apollo_model; 11extern u_long apollo_model;
13 12
14#define APOLLO_UNKNOWN (0)
15#define APOLLO_DN3000 (1)
16#define APOLLO_DN3010 (2)
17#define APOLLO_DN3500 (3)
18#define APOLLO_DN4000 (4)
19#define APOLLO_DN4500 (5)
20 13
21/* 14/*
22 see scn2681 data sheet for more info. 15 see scn2681 data sheet for more info.
diff --git a/arch/m68k/include/uapi/asm/bootinfo-apollo.h b/arch/m68k/include/uapi/asm/bootinfo-apollo.h
index 3a2051e822b0..69923697e131 100644
--- a/arch/m68k/include/uapi/asm/bootinfo-apollo.h
+++ b/arch/m68k/include/uapi/asm/bootinfo-apollo.h
@@ -13,4 +13,16 @@
13#define BI_APOLLO_MODEL 0x8000 /* model (u_long) */ 13#define BI_APOLLO_MODEL 0x8000 /* model (u_long) */
14 14
15 15
16 /*
17 * Apollo models (BI_APOLLO_MODEL)
18 */
19
20#define APOLLO_UNKNOWN 0
21#define APOLLO_DN3000 1
22#define APOLLO_DN3010 2
23#define APOLLO_DN3500 3
24#define APOLLO_DN4000 4
25#define APOLLO_DN4500 5
26
27
16#endif /* _UAPI_ASM_M68K_BOOTINFO_APOLLO_H */ 28#endif /* _UAPI_ASM_M68K_BOOTINFO_APOLLO_H */