firmware.h (f0ff7eb483b4c9b24b83aa682c4f42db256f9bdb) | firmware.h (5d88aa85c00bb4026dd986430dc496effc637d42) |
---|---|
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 --- 37 unchanged lines hidden (view full) --- 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) | 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 --- 37 unchanged lines hidden (view full) --- 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) |
54#define FW_FEATURE_PRRN ASM_CONST(0x0000000200000000) |
|
54 55#ifndef __ASSEMBLY__ 56 57enum { 58#ifdef CONFIG_PPC64 59 FW_FEATURE_PSERIES_POSSIBLE = FW_FEATURE_PFT | FW_FEATURE_TCE | 60 FW_FEATURE_SPRG0 | FW_FEATURE_DABR | FW_FEATURE_COPY | 61 FW_FEATURE_ASR | FW_FEATURE_DEBUG | FW_FEATURE_TERM | 62 FW_FEATURE_PERF | FW_FEATURE_DUMP | FW_FEATURE_INTERRUPT | 63 FW_FEATURE_MIGRATE | FW_FEATURE_PERFMON | FW_FEATURE_CRQ | 64 FW_FEATURE_VIO | FW_FEATURE_RDMA | FW_FEATURE_LLAN | 65 FW_FEATURE_BULK_REMOVE | FW_FEATURE_XDABR | 66 FW_FEATURE_MULTITCE | FW_FEATURE_SPLPAR | FW_FEATURE_LPAR | 67 FW_FEATURE_CMO | FW_FEATURE_VPHN | FW_FEATURE_XCMO | 68 FW_FEATURE_SET_MODE | FW_FEATURE_BEST_ENERGY | | 55 56#ifndef __ASSEMBLY__ 57 58enum { 59#ifdef CONFIG_PPC64 60 FW_FEATURE_PSERIES_POSSIBLE = FW_FEATURE_PFT | FW_FEATURE_TCE | 61 FW_FEATURE_SPRG0 | FW_FEATURE_DABR | FW_FEATURE_COPY | 62 FW_FEATURE_ASR | FW_FEATURE_DEBUG | FW_FEATURE_TERM | 63 FW_FEATURE_PERF | FW_FEATURE_DUMP | FW_FEATURE_INTERRUPT | 64 FW_FEATURE_MIGRATE | FW_FEATURE_PERFMON | FW_FEATURE_CRQ | 65 FW_FEATURE_VIO | FW_FEATURE_RDMA | FW_FEATURE_LLAN | 66 FW_FEATURE_BULK_REMOVE | FW_FEATURE_XDABR | 67 FW_FEATURE_MULTITCE | FW_FEATURE_SPLPAR | FW_FEATURE_LPAR | 68 FW_FEATURE_CMO | FW_FEATURE_VPHN | FW_FEATURE_XCMO | 69 FW_FEATURE_SET_MODE | FW_FEATURE_BEST_ENERGY | |
69 FW_FEATURE_TYPE1_AFFINITY, | 70 FW_FEATURE_TYPE1_AFFINITY | FW_FEATURE_PRRN, |
70 FW_FEATURE_PSERIES_ALWAYS = 0, 71 FW_FEATURE_POWERNV_POSSIBLE = FW_FEATURE_OPAL | FW_FEATURE_OPALv2, 72 FW_FEATURE_POWERNV_ALWAYS = 0, 73 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1, 74 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1, 75 FW_FEATURE_CELLEB_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_BEAT, 76 FW_FEATURE_CELLEB_ALWAYS = 0, 77 FW_FEATURE_NATIVE_POSSIBLE = 0, --- 62 unchanged lines hidden --- | 71 FW_FEATURE_PSERIES_ALWAYS = 0, 72 FW_FEATURE_POWERNV_POSSIBLE = FW_FEATURE_OPAL | FW_FEATURE_OPALv2, 73 FW_FEATURE_POWERNV_ALWAYS = 0, 74 FW_FEATURE_PS3_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1, 75 FW_FEATURE_PS3_ALWAYS = FW_FEATURE_LPAR | FW_FEATURE_PS3_LV1, 76 FW_FEATURE_CELLEB_POSSIBLE = FW_FEATURE_LPAR | FW_FEATURE_BEAT, 77 FW_FEATURE_CELLEB_ALWAYS = 0, 78 FW_FEATURE_NATIVE_POSSIBLE = 0, --- 62 unchanged lines hidden --- |