firmware.h (088eef2219bd1e8cb82bfcb5b32c1c687aeea6d7) firmware.h (bf4981a00636347ddcef3fc008e4dd979380a851)
1/*
2 * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org)
3 *
4 * Modifications for ppc64:
5 * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 28 unchanged lines hidden (view full) ---

37#define FW_FEATURE_RDMA ASM_CONST(0x0000000000008000)
38#define FW_FEATURE_LLAN ASM_CONST(0x0000000000010000)
39#define FW_FEATURE_BULK_REMOVE ASM_CONST(0x0000000000020000)
40#define FW_FEATURE_XDABR ASM_CONST(0x0000000000040000)
41#define FW_FEATURE_MULTITCE ASM_CONST(0x0000000000080000)
42#define FW_FEATURE_SPLPAR ASM_CONST(0x0000000000100000)
43#define FW_FEATURE_LPAR ASM_CONST(0x0000000000400000)
44#define FW_FEATURE_PS3_LV1 ASM_CONST(0x0000000000800000)
1/*
2 * Copyright (C) 2001 Ben. Herrenschmidt (benh@kernel.crashing.org)
3 *
4 * Modifications for ppc64:
5 * Copyright (C) 2003 Dave Engebretsen <engebret@us.ibm.com>
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License

--- 28 unchanged lines hidden (view full) ---

37#define FW_FEATURE_RDMA ASM_CONST(0x0000000000008000)
38#define FW_FEATURE_LLAN ASM_CONST(0x0000000000010000)
39#define FW_FEATURE_BULK_REMOVE ASM_CONST(0x0000000000020000)
40#define FW_FEATURE_XDABR ASM_CONST(0x0000000000040000)
41#define FW_FEATURE_MULTITCE ASM_CONST(0x0000000000080000)
42#define FW_FEATURE_SPLPAR ASM_CONST(0x0000000000100000)
43#define FW_FEATURE_LPAR ASM_CONST(0x0000000000400000)
44#define FW_FEATURE_PS3_LV1 ASM_CONST(0x0000000000800000)
45#define FW_FEATURE_BEAT ASM_CONST(0x0000000001000000)
45/* Free ASM_CONST(0x0000000001000000) */
46#define FW_FEATURE_CMO ASM_CONST(0x0000000002000000)
47#define FW_FEATURE_VPHN ASM_CONST(0x0000000004000000)
48#define FW_FEATURE_XCMO ASM_CONST(0x0000000008000000)
49#define FW_FEATURE_OPAL ASM_CONST(0x0000000010000000)
50#define FW_FEATURE_OPALv2 ASM_CONST(0x0000000020000000)
51#define FW_FEATURE_SET_MODE ASM_CONST(0x0000000040000000)
52#define FW_FEATURE_BEST_ENERGY ASM_CONST(0x0000000080000000)
53#define FW_FEATURE_TYPE1_AFFINITY ASM_CONST(0x0000000100000000)

--- 16 unchanged lines hidden (view full) ---

70 FW_FEATURE_SET_MODE | FW_FEATURE_BEST_ENERGY |
71 FW_FEATURE_TYPE1_AFFINITY | FW_FEATURE_PRRN,
72 FW_FEATURE_PSERIES_ALWAYS = 0,
73 FW_FEATURE_POWERNV_POSSIBLE = FW_FEATURE_OPAL | FW_FEATURE_OPALv2 |
74 FW_FEATURE_OPALv3,
75 FW_FEATURE_POWERNV_ALWAYS = 0,
76 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
77 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
46#define FW_FEATURE_CMO ASM_CONST(0x0000000002000000)
47#define FW_FEATURE_VPHN ASM_CONST(0x0000000004000000)
48#define FW_FEATURE_XCMO ASM_CONST(0x0000000008000000)
49#define FW_FEATURE_OPAL ASM_CONST(0x0000000010000000)
50#define FW_FEATURE_OPALv2 ASM_CONST(0x0000000020000000)
51#define FW_FEATURE_SET_MODE ASM_CONST(0x0000000040000000)
52#define FW_FEATURE_BEST_ENERGY ASM_CONST(0x0000000080000000)
53#define FW_FEATURE_TYPE1_AFFINITY ASM_CONST(0x0000000100000000)

--- 16 unchanged lines hidden (view full) ---

70 FW_FEATURE_SET_MODE | FW_FEATURE_BEST_ENERGY |
71 FW_FEATURE_TYPE1_AFFINITY | FW_FEATURE_PRRN,
72 FW_FEATURE_PSERIES_ALWAYS = 0,
73 FW_FEATURE_POWERNV_POSSIBLE = FW_FEATURE_OPAL | FW_FEATURE_OPALv2 |
74 FW_FEATURE_OPALv3,
75 FW_FEATURE_POWERNV_ALWAYS = 0,
76 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
77 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1,
78 FW_FEATURE_CELLEB_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_BEAT,
79 FW_FEATURE_CELLEB_ALWAYS = 0,
80 FW_FEATURE_NATIVE_POSSIBLE = 0,
81 FW_FEATURE_NATIVE_ALWAYS = 0,
82 FW_FEATURE_POSSIBLE =
83#ifdef CONFIG_PPC_PSERIES
84 FW_FEATURE_PSERIES_POSSIBLE |
85#endif
86#ifdef CONFIG_PPC_POWERNV
87 FW_FEATURE_POWERNV_POSSIBLE |
88#endif
89#ifdef CONFIG_PPC_PS3
90 FW_FEATURE_PS3_POSSIBLE |
91#endif
78 FW_FEATURE_NATIVE_POSSIBLE = 0,
79 FW_FEATURE_NATIVE_ALWAYS = 0,
80 FW_FEATURE_POSSIBLE =
81#ifdef CONFIG_PPC_PSERIES
82 FW_FEATURE_PSERIES_POSSIBLE |
83#endif
84#ifdef CONFIG_PPC_POWERNV
85 FW_FEATURE_POWERNV_POSSIBLE |
86#endif
87#ifdef CONFIG_PPC_PS3
88 FW_FEATURE_PS3_POSSIBLE |
89#endif
92#ifdef CONFIG_PPC_CELLEB
93 FW_FEATURE_CELLEB_POSSIBLE |
94#endif
95#ifdef CONFIG_PPC_NATIVE
96 FW_FEATURE_NATIVE_ALWAYS |
97#endif
98 0,
99 FW_FEATURE_ALWAYS =
100#ifdef CONFIG_PPC_PSERIES
101 FW_FEATURE_PSERIES_ALWAYS &
102#endif
103#ifdef CONFIG_PPC_POWERNV
104 FW_FEATURE_POWERNV_ALWAYS &
105#endif
106#ifdef CONFIG_PPC_PS3
107 FW_FEATURE_PS3_ALWAYS &
108#endif
90#ifdef CONFIG_PPC_NATIVE
91 FW_FEATURE_NATIVE_ALWAYS |
92#endif
93 0,
94 FW_FEATURE_ALWAYS =
95#ifdef CONFIG_PPC_PSERIES
96 FW_FEATURE_PSERIES_ALWAYS &
97#endif
98#ifdef CONFIG_PPC_POWERNV
99 FW_FEATURE_POWERNV_ALWAYS &
100#endif
101#ifdef CONFIG_PPC_PS3
102 FW_FEATURE_PS3_ALWAYS &
103#endif
109#ifdef CONFIG_PPC_CELLEB
110 FW_FEATURE_CELLEB_ALWAYS &
111#endif
112#ifdef CONFIG_PPC_NATIVE
113 FW_FEATURE_NATIVE_ALWAYS &
114#endif
115 FW_FEATURE_POSSIBLE,
116
117#else /* CONFIG_PPC64 */
118 FW_FEATURE_POSSIBLE = 0,
119 FW_FEATURE_ALWAYS = 0,

--- 23 unchanged lines hidden ---
104#ifdef CONFIG_PPC_NATIVE
105 FW_FEATURE_NATIVE_ALWAYS &
106#endif
107 FW_FEATURE_POSSIBLE,
108
109#else /* CONFIG_PPC64 */
110 FW_FEATURE_POSSIBLE = 0,
111 FW_FEATURE_ALWAYS = 0,

--- 23 unchanged lines hidden ---