diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-10-02 16:40:44 -0400 |
---|---|---|
committer | Geert Uytterhoeven <geert@linux-m68k.org> | 2013-11-26 05:09:21 -0500 |
commit | cf288bd5b122d12476fd7d9825c292daef5dba58 (patch) | |
tree | 16b5cd1608702f722a009f8fb609a0cd5112253c /arch/m68k/include | |
parent | 8693d6167e16baab1ee900d94b16af586a26a916 (diff) |
m68k/UAPI: Move VME Board ID definition to <asm/bootinfo-vme.h>
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/include')
-rw-r--r-- | arch/m68k/include/asm/mvme16xhw.h | 15 | ||||
-rw-r--r-- | arch/m68k/include/uapi/asm/bootinfo-vme.h | 25 |
2 files changed, 23 insertions, 17 deletions
diff --git a/arch/m68k/include/asm/mvme16xhw.h b/arch/m68k/include/asm/mvme16xhw.h index 87fa84ad252e..1eb89de631e5 100644 --- a/arch/m68k/include/asm/mvme16xhw.h +++ b/arch/m68k/include/asm/mvme16xhw.h | |||
@@ -3,21 +3,6 @@ | |||
3 | 3 | ||
4 | #include <asm/irq.h> | 4 | #include <asm/irq.h> |
5 | 5 | ||
6 | /* Board ID data structure - pointer to this retrieved from Bug by head.S */ | ||
7 | |||
8 | /* Note, bytes 12 and 13 are board no in BCD (0162,0166,0167,0177,etc) */ | ||
9 | |||
10 | typedef struct { | ||
11 | char bdid[4]; | ||
12 | u_char rev, mth, day, yr; | ||
13 | u_short size, reserved; | ||
14 | u_short brdno; | ||
15 | char brdsuffix[2]; | ||
16 | u_long options; | ||
17 | u_short clun, dlun, ctype, dnum; | ||
18 | u_long option2; | ||
19 | } t_bdid, *p_bdid; | ||
20 | |||
21 | 6 | ||
22 | typedef struct { | 7 | typedef struct { |
23 | u_char ack_icr, | 8 | u_char ack_icr, |
diff --git a/arch/m68k/include/uapi/asm/bootinfo-vme.h b/arch/m68k/include/uapi/asm/bootinfo-vme.h index 4643a55ed768..13ba5e19fe24 100644 --- a/arch/m68k/include/uapi/asm/bootinfo-vme.h +++ b/arch/m68k/include/uapi/asm/bootinfo-vme.h | |||
@@ -28,11 +28,32 @@ | |||
28 | #define VME_TYPE_BVME4000 0x4000 /* BVM Ltd. BVME4000 */ | 28 | #define VME_TYPE_BVME4000 0x4000 /* BVM Ltd. BVME4000 */ |
29 | #define VME_TYPE_BVME6000 0x6000 /* BVM Ltd. BVME6000 */ | 29 | #define VME_TYPE_BVME6000 0x6000 /* BVM Ltd. BVME6000 */ |
30 | 30 | ||
31 | /* BI_VME_BRDINFO is a 32 byte struct as returned by the Bug code on | 31 | |
32 | #ifndef __ASSEMBLY__ | ||
33 | |||
34 | /* | ||
35 | * Board ID data structure - pointer to this retrieved from Bug by head.S | ||
36 | * | ||
37 | * BI_VME_BRDINFO is a 32 byte struct as returned by the Bug code on | ||
32 | * Motorola VME boards. Contains board number, Bug version, board | 38 | * Motorola VME boards. Contains board number, Bug version, board |
33 | * configuration options, etc. See include/asm/mvme16xhw.h for details. | 39 | * configuration options, etc. |
40 | * | ||
41 | * Note, bytes 12 and 13 are board no in BCD (0162,0166,0167,0177,etc) | ||
34 | */ | 42 | */ |
35 | 43 | ||
44 | typedef struct { | ||
45 | char bdid[4]; | ||
46 | u_char rev, mth, day, yr; | ||
47 | u_short size, reserved; | ||
48 | u_short brdno; | ||
49 | char brdsuffix[2]; | ||
50 | u_long options; | ||
51 | u_short clun, dlun, ctype, dnum; | ||
52 | u_long option2; | ||
53 | } t_bdid, *p_bdid; | ||
54 | |||
55 | #endif /* __ASSEMBLY__ */ | ||
56 | |||
36 | 57 | ||
37 | /* | 58 | /* |
38 | * Latest VME bootinfo versions | 59 | * Latest VME bootinfo versions |