aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k/include/uapi
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2013-10-02 16:40:44 -0400
committerGeert Uytterhoeven <geert@linux-m68k.org>2013-11-26 05:09:21 -0500
commitcf288bd5b122d12476fd7d9825c292daef5dba58 (patch)
tree16b5cd1608702f722a009f8fb609a0cd5112253c /arch/m68k/include/uapi
parent8693d6167e16baab1ee900d94b16af586a26a916 (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/uapi')
-rw-r--r--arch/m68k/include/uapi/asm/bootinfo-vme.h25
1 files changed, 23 insertions, 2 deletions
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
44typedef 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