Linux 2.6.21.1
[linux/fpc-iii.git] / include / asm-ia64 / sn / sn_feature_sets.h
blobbfdc36273ed46f9854c5f4daf94ec058c8482779
1 #ifndef _ASM_IA64_SN_FEATURE_SETS_H
2 #define _ASM_IA64_SN_FEATURE_SETS_H
4 /*
5 * SN PROM Features
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.
11 * Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved.
15 /* --------------------- PROM Features -----------------------------*/
16 extern int sn_prom_feature_available(int id);
18 #define MAX_PROM_FEATURE_SETS 2
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.
26 * Use:
27 * if (sn_prom_feature_available(PRF_XXX))
28 * ...
31 #define PRF_PAL_CACHE_FLUSH_SAFE 0
32 #define PRF_DEVICE_FLUSH_LIST 1
33 #define PRF_HOTPLUG_SUPPORT 2
35 /* --------------------- OS Features -------------------------------*/
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:
42 * ia64_sn_set_os_feature(feature1);
44 * Once enabled, a feature cannot be disabled.
46 * By default, features are disabled unless explicitly enabled.
48 * These defines must be kept in sync with the corresponding
49 * PROM definitions in feature_sets.h.
51 #define OSF_MCA_SLV_TO_OS_INIT_SLV 0
52 #define OSF_FEAT_LOG_SBES 1
53 #define OSF_ACPI_ENABLE 2
54 #define OSF_PCISEGMENT_ENABLE 3
57 #endif /* _ASM_IA64_SN_FEATURE_SETS_H */