blob: 8e83ac117aceb73863d0e0315a26ee938eed6151 [file] [log] [blame]
Jack Steinera1cddb82005-08-31 08:05:00 -07001#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 Roefd8b2062006-01-24 14:49:43 -080011 * Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved.
Jack Steinera1cddb82005-08-31 08:05:00 -070012 */
13
14
Jack Steinera1cddb82005-08-31 08:05:00 -070015/* --------------------- PROM Features -----------------------------*/
16extern 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 Roefd8b2062006-01-24 14:49:43 -080027 * if (sn_prom_feature_available(PRF_XXX))
Jack Steinera1cddb82005-08-31 08:05:00 -070028 * ...
29 */
30
Prarit Bhargava61d67f22006-01-25 18:51:14 -050031#define PRF_PAL_CACHE_FLUSH_SAFE 0
32#define PRF_DEVICE_FLUSH_LIST 1
Prarit Bhargavaf90aa8c2006-03-08 13:30:18 -050033#define PRF_HOTPLUG_SUPPORT 2
John Keller6e9de182007-08-22 19:32:06 -050034#define PRF_CPU_DISABLE_SUPPORT 3
Jack Steinera1cddb82005-08-31 08:05:00 -070035
36/* --------------------- OS Features -------------------------------*/
37
38/*
39 * The following defines OS features that are optionally present in
40 * the operating system.
41 * During boot, PROM is notified of these features via a series of calls:
42 *
43 * ia64_sn_set_os_feature(feature1);
44 *
45 * Once enabled, a feature cannot be disabled.
46 *
47 * By default, features are disabled unless explicitly enabled.
John Keller8ea60912006-10-04 16:49:25 -050048 *
49 * These defines must be kept in sync with the corresponding
50 * PROM definitions in feature_sets.h.
Jack Steinera1cddb82005-08-31 08:05:00 -070051 */
Prarit Bhargava61d67f22006-01-25 18:51:14 -050052#define OSF_MCA_SLV_TO_OS_INIT_SLV 0
53#define OSF_FEAT_LOG_SBES 1
John Keller8ea60912006-10-04 16:49:25 -050054#define OSF_ACPI_ENABLE 2
55#define OSF_PCISEGMENT_ENABLE 3
56
Jack Steinera1cddb82005-08-31 08:05:00 -070057
58#endif /* _ASM_IA64_SN_FEATURE_SETS_H */