1 #ifndef _ASM_IA64_SN_FEATURE_SETS_H
2 #define _ASM_IA64_SN_FEATURE_SETS_H
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
11 * Copyright (c) 2005 Silicon Graphics, Inc. All rights reserved.
15 #include <asm/types.h>
16 #include <asm/bitops.h>
18 /* --------------------- PROM Features -----------------------------*/
19 extern int sn_prom_feature_available(int id);
21 #define MAX_PROM_FEATURE_SETS 2
24 * The following defines features that may or may not be supported by the
25 * current PROM. The OS uses sn_prom_feature_available(feature) to test for
26 * the presence of a PROM feature. Down rev (old) PROMs will always test
27 * "false" for new features.
30 * if (sn_prom_feature_available(PRF_FEATURE_XXX))
35 * Example: feature XXX
37 #define PRF_FEATURE_XXX 0
41 /* --------------------- OS Features -------------------------------*/
44 * The following defines OS features that are optionally present in
45 * the operating system.
46 * During boot, PROM is notified of these features via a series of calls:
48 * ia64_sn_set_os_feature(feature1);
50 * Once enabled, a feature cannot be disabled.
52 * By default, features are disabled unless explicitly enabled.
54 #define OSF_MCA_SLV_TO_OS_INIT_SLV 0
55 #define OSF_FEAT_LOG_SBES 1
57 #endif /* _ASM_IA64_SN_FEATURE_SETS_H */