audk/MdePkg/Include
Laszlo Ersek 12e6f4f1be MdePkg/IndustryStandard: introduce EFI_PCI_CAPABILITY_ID_SHPC
The "Pci22.h" header file defines the macro EFI_PCI_CAPABILITY_ID_HOTPLUG
with value 0x06. According to all of:
- later parts of the same header file,
- Appendix H ("Capability IDs") of the PCI Local Bus Specification
  Revision 2.3,
- and Chapter 2 ("Capability IDs") of the PCI Code and ID Assignment
  Specification Revision 0.9,

0x06 means "CompactPCI Hot Swap". It does not mean "PCI Hot-Plug": that
capability is described by ID 0x0C:

  0Ch  PCI Hot-Plug -- This Capability ID indicates that the associated
       device conforms to the Standard Hot-Plug Controller model.

Therefore EFI_PCI_CAPABILITY_ID_HOTPLUG is arguably a misnomer. PciBusDxe
(mis-)uses EFI_PCI_CAPABILITY_ID_HOTPLUG in the IsSHPC() helper function
to identify PCI Hot-Plug capability.

In order to preserve compatibility with existent code, leave
EFI_PCI_CAPABILITY_ID_HOTPLUG alone, and introduce
EFI_PCI_CAPABILITY_ID_SHPC with the right ID value.

Cc: "Johnson, Brian J." <bjohnson@sgi.com>
Cc: Alex Williamson <alex.williamson@redhat.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Marcel Apfelbaum <marcel@redhat.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <Ruiyu.ni@intel.com>
2016-07-13 08:38:41 +02:00
..
AArch64 MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang 2014-10-31 14:05:09 +00:00
Arm MdePkg/ProcessorBind.h: Add ARM and AArch64 GCC macros for Clang 2014-10-31 14:05:09 +00:00
Ebc MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Guid MdePkg: Revert AuditMode/DeployedMode name definition 2016-05-04 09:13:46 +08:00
Ia32 MdePkg: Disable VS2015 warning C4701 & C4703 2015-12-04 03:05:28 +00:00
IndustryStandard MdePkg/IndustryStandard: introduce EFI_PCI_CAPABILITY_ID_SHPC 2016-07-13 08:38:41 +02:00
Ipf MdePkg Base.h: Always define ASM_PFX 2014-09-01 17:23:10 +00:00
Library MdePkg/DebugLib: Flag post-_ASSERT() as unreachable for analyzers. 2016-06-22 09:37:12 +08:00
Pi MdePkg: Follow PI1.4a update SmmStartupThisAP() description 2016-06-02 16:34:59 +08:00
Ppi MdePkg: Follow PI1.4a update EFI_SEC_PLATFORM_INFORMATION2 description 2016-06-02 16:34:53 +08:00
Protocol MdePkg: Fix typos in comments 2016-07-11 10:29:49 +08:00
Uefi MdePkg: Add HII definitions from UEFI 2.6 2016-05-13 11:17:57 +08:00
X64 MdePkg: Disable VS2015 warning C4701 & C4703 2015-12-04 03:05:28 +00:00
Base.h MdePkg Base.h: Fix typo funcation to function 2016-07-09 10:13:57 +08:00
PiDxe.h
PiPei.h
PiSmm.h Add definitions for the UEFI ACPI Data Table defined in the UEFI spec and the SMM Communication ACPI Table defined in the PI spec. 2011-02-22 10:05:06 +00:00
Uefi.h