2005-08-31 09:05:00 -06:00
|
|
|
#ifndef _ASM_IA64_SN_FEATURE_SETS_H
|
|
|
|
#define _ASM_IA64_SN_FEATURE_SETS_H
|
|
|
|
|
|
|
|
/*
|
|
|
|
* SN PROM Features
|
|
|
|
*
|
|
|
|
* This file is subject to the terms and conditions of the GNU General Public
|
|
|
|
* License. See the file "COPYING" in the main directory of this archive
|
|
|
|
* for more details.
|
|
|
|
*
|
2006-01-24 15:49:43 -07:00
|
|
|
* Copyright (c) 2005-2006 Silicon Graphics, Inc. All rights reserved.
|
2005-08-31 09:05:00 -06:00
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
|
|
/* --------------------- PROM Features -----------------------------*/
|
|
|
|
extern int sn_prom_feature_available(int id);
|
|
|
|
|
|
|
|
#define MAX_PROM_FEATURE_SETS 2
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following defines features that may or may not be supported by the
|
|
|
|
* current PROM. The OS uses sn_prom_feature_available(feature) to test for
|
|
|
|
* the presence of a PROM feature. Down rev (old) PROMs will always test
|
|
|
|
* "false" for new features.
|
|
|
|
*
|
|
|
|
* Use:
|
2006-01-24 15:49:43 -07:00
|
|
|
* if (sn_prom_feature_available(PRF_XXX))
|
2005-08-31 09:05:00 -06:00
|
|
|
* ...
|
|
|
|
*/
|
|
|
|
|
2006-01-25 16:51:14 -07:00
|
|
|
#define PRF_PAL_CACHE_FLUSH_SAFE 0
|
|
|
|
#define PRF_DEVICE_FLUSH_LIST 1
|
2006-03-08 11:30:18 -07:00
|
|
|
#define PRF_HOTPLUG_SUPPORT 2
|
2007-08-22 18:32:06 -06:00
|
|
|
#define PRF_CPU_DISABLE_SUPPORT 3
|
2005-08-31 09:05:00 -06:00
|
|
|
|
|
|
|
/* --------------------- OS Features -------------------------------*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* The following defines OS features that are optionally present in
|
|
|
|
* the operating system.
|
|
|
|
* During boot, PROM is notified of these features via a series of calls:
|
|
|
|
*
|
|
|
|
* ia64_sn_set_os_feature(feature1);
|
|
|
|
*
|
|
|
|
* Once enabled, a feature cannot be disabled.
|
|
|
|
*
|
|
|
|
* By default, features are disabled unless explicitly enabled.
|
Altix: Add initial ACPI IO support
First phase in introducing ACPI support to SN.
In this phase, when running with an ACPI capable PROM,
the DSDT will define the root busses and all SN nodes
(SGIHUB, SGITIO). An ACPI bus driver will be registered
for the node devices, with the acpi_pci_root_driver being
used for the root busses. An ACPI vendor descriptor is
now used to pass platform specific information for both
nodes and busses, eliminating the need for the current
SAL calls. Also, with ACPI support, SN fixup code is no longer
needed to initiate the PCI bus scans, as the acpi_pci_root_driver
does that.
However, to maintain backward compatibility with non-ACPI capable
PROMs, none of the current 'fixup' code can been deleted, though
much restructuring has been done. For example, the bulk of the code
in io_common.c is relocated code that is now common regardless
of what PROM is running, while io_acpi_init.c and io_init.c contain
routines specific to an ACPI or non ACPI capable PROM respectively.
A new pci bus fixup platform vector has been created to provide
a hook for invoking platform specific bus fixup from pcibios_fixup_bus().
The size of io_space[] has been increased to support systems with
large IO configurations.
Signed-off-by: John Keller <jpk@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-10-04 15:49:25 -06:00
|
|
|
*
|
|
|
|
* These defines must be kept in sync with the corresponding
|
|
|
|
* PROM definitions in feature_sets.h.
|
2005-08-31 09:05:00 -06:00
|
|
|
*/
|
2006-01-25 16:51:14 -07:00
|
|
|
#define OSF_MCA_SLV_TO_OS_INIT_SLV 0
|
|
|
|
#define OSF_FEAT_LOG_SBES 1
|
Altix: Add initial ACPI IO support
First phase in introducing ACPI support to SN.
In this phase, when running with an ACPI capable PROM,
the DSDT will define the root busses and all SN nodes
(SGIHUB, SGITIO). An ACPI bus driver will be registered
for the node devices, with the acpi_pci_root_driver being
used for the root busses. An ACPI vendor descriptor is
now used to pass platform specific information for both
nodes and busses, eliminating the need for the current
SAL calls. Also, with ACPI support, SN fixup code is no longer
needed to initiate the PCI bus scans, as the acpi_pci_root_driver
does that.
However, to maintain backward compatibility with non-ACPI capable
PROMs, none of the current 'fixup' code can been deleted, though
much restructuring has been done. For example, the bulk of the code
in io_common.c is relocated code that is now common regardless
of what PROM is running, while io_acpi_init.c and io_init.c contain
routines specific to an ACPI or non ACPI capable PROM respectively.
A new pci bus fixup platform vector has been created to provide
a hook for invoking platform specific bus fixup from pcibios_fixup_bus().
The size of io_space[] has been increased to support systems with
large IO configurations.
Signed-off-by: John Keller <jpk@sgi.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-10-04 15:49:25 -06:00
|
|
|
#define OSF_ACPI_ENABLE 2
|
|
|
|
#define OSF_PCISEGMENT_ENABLE 3
|
|
|
|
|
2005-08-31 09:05:00 -06:00
|
|
|
|
|
|
|
#endif /* _ASM_IA64_SN_FEATURE_SETS_H */
|