Jack Steiner | a1cddb8 | 2005-08-31 08:05:00 -0700 | [diff] [blame] | 1 | #ifndef _ASM_IA64_SN_FEATURE_SETS_H |
| 2 | #define _ASM_IA64_SN_FEATURE_SETS_H |
| 3 | |
| 4 | /* |
| 5 | * SN PROM Features |
| 6 | * |
| 7 | * This file is subject to the terms and conditions of the GNU General Public |
| 8 | * License. See the file "COPYING" in the main directory of this archive |
| 9 | * for more details. |
| 10 | * |
Dean Roe | fd8b206 | 2006-01-24 14:49:43 -0800 | [diff] [blame] | 11 | * Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved. |
Jack Steiner | a1cddb8 | 2005-08-31 08:05:00 -0700 | [diff] [blame] | 12 | */ |
| 13 | |
| 14 | |
Jack Steiner | a1cddb8 | 2005-08-31 08:05:00 -0700 | [diff] [blame] | 15 | /* --------------------- PROM Features -----------------------------*/ |
| 16 | extern int sn_prom_feature_available(int id); |
| 17 | |
| 18 | #define MAX_PROM_FEATURE_SETS 2 |
| 19 | |
| 20 | /* |
| 21 | * The following defines features that may or may not be supported by the |
| 22 | * current PROM. The OS uses sn_prom_feature_available(feature) to test for |
| 23 | * the presence of a PROM feature. Down rev (old) PROMs will always test |
| 24 | * "false" for new features. |
| 25 | * |
| 26 | * Use: |
Dean Roe | fd8b206 | 2006-01-24 14:49:43 -0800 | [diff] [blame] | 27 | * if (sn_prom_feature_available(PRF_XXX)) |
Jack Steiner | a1cddb8 | 2005-08-31 08:05:00 -0700 | [diff] [blame] | 28 | * ... |
| 29 | */ |
| 30 | |
Prarit Bhargava | 61d67f2 | 2006-01-25 18:51:14 -0500 | [diff] [blame] | 31 | #define PRF_PAL_CACHE_FLUSH_SAFE 0 |
| 32 | #define PRF_DEVICE_FLUSH_LIST 1 |
Prarit Bhargava | f90aa8c | 2006-03-08 13:30:18 -0500 | [diff] [blame] | 33 | #define PRF_HOTPLUG_SUPPORT 2 |
Jack Steiner | a1cddb8 | 2005-08-31 08:05:00 -0700 | [diff] [blame] | 34 | |
| 35 | /* --------------------- OS Features -------------------------------*/ |
| 36 | |
| 37 | /* |
| 38 | * The following defines OS features that are optionally present in |
| 39 | * the operating system. |
| 40 | * During boot, PROM is notified of these features via a series of calls: |
| 41 | * |
| 42 | * ia64_sn_set_os_feature(feature1); |
| 43 | * |
| 44 | * Once enabled, a feature cannot be disabled. |
| 45 | * |
| 46 | * By default, features are disabled unless explicitly enabled. |
| 47 | */ |
Prarit Bhargava | 61d67f2 | 2006-01-25 18:51:14 -0500 | [diff] [blame] | 48 | #define OSF_MCA_SLV_TO_OS_INIT_SLV 0 |
| 49 | #define OSF_FEAT_LOG_SBES 1 |
Jack Steiner | a1cddb8 | 2005-08-31 08:05:00 -0700 | [diff] [blame] | 50 | |
| 51 | #endif /* _ASM_IA64_SN_FEATURE_SETS_H */ |