WAN: HDLC: Detach protocol before unregistering device
[linux/fpc-iii.git] / arch / m68k / include / uapi / asm / bootinfo-vme.h
bloba135eb41d6725d46797e65e084fd9cb97decf1da
1 /*
2 ** asm/bootinfo-vme.h -- VME-specific boot information definitions
3 */
5 #ifndef _UAPI_ASM_M68K_BOOTINFO_VME_H
6 #define _UAPI_ASM_M68K_BOOTINFO_VME_H
9 #include <linux/types.h>
13 * VME-specific tags
16 #define BI_VME_TYPE 0x8000 /* VME sub-architecture (__be32) */
17 #define BI_VME_BRDINFO 0x8001 /* VME board information (struct) */
21 * VME models (BI_VME_TYPE)
24 #define VME_TYPE_TP34V 0x0034 /* Tadpole TP34V */
25 #define VME_TYPE_MVME147 0x0147 /* Motorola MVME147 */
26 #define VME_TYPE_MVME162 0x0162 /* Motorola MVME162 */
27 #define VME_TYPE_MVME166 0x0166 /* Motorola MVME166 */
28 #define VME_TYPE_MVME167 0x0167 /* Motorola MVME167 */
29 #define VME_TYPE_MVME172 0x0172 /* Motorola MVME172 */
30 #define VME_TYPE_MVME177 0x0177 /* Motorola MVME177 */
31 #define VME_TYPE_BVME4000 0x4000 /* BVM Ltd. BVME4000 */
32 #define VME_TYPE_BVME6000 0x6000 /* BVM Ltd. BVME6000 */
35 #ifndef __ASSEMBLY__
38 * Board ID data structure - pointer to this retrieved from Bug by head.S
40 * BI_VME_BRDINFO is a 32 byte struct as returned by the Bug code on
41 * Motorola VME boards. Contains board number, Bug version, board
42 * configuration options, etc.
44 * Note, bytes 12 and 13 are board no in BCD (0162,0166,0167,0177,etc)
47 typedef struct {
48 char bdid[4];
49 __u8 rev, mth, day, yr;
50 __be16 size, reserved;
51 __be16 brdno;
52 char brdsuffix[2];
53 __be32 options;
54 __be16 clun, dlun, ctype, dnum;
55 __be32 option2;
56 } t_bdid, *p_bdid;
58 #endif /* __ASSEMBLY__ */
62 * Latest VME bootinfo versions
65 #define MVME147_BOOTI_VERSION MK_BI_VERSION(2, 0)
66 #define MVME16x_BOOTI_VERSION MK_BI_VERSION(2, 0)
67 #define BVME6000_BOOTI_VERSION MK_BI_VERSION(2, 0)
70 #endif /* _UAPI_ASM_M68K_BOOTINFO_VME_H */