audk/MdePkg/Include/IndustryStandard
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
..
Acpi.h MdePkg: Update Acpi.h to include 6.1. 2016-02-14 14:06:31 +08:00
Acpi10.h Add ACPI5.0 header file. 2011-11-30 03:57:39 +00:00
Acpi20.h Add ACPI5.0 header file. 2011-11-30 03:57:39 +00:00
Acpi30.h Add ACPI5.0 header file. 2011-11-30 03:57:39 +00:00
Acpi40.h Add ACPI5.0 header file. 2011-11-30 03:57:39 +00:00
Acpi50.h Added PlatformNotification to ACPI 5.0 PCCT structure. 2014-11-27 02:17:28 +00:00
Acpi51.h MdePkg: Add GIC version to ACPI 5.1/6 definitions 2015-12-16 00:55:29 +00:00
Acpi60.h MdePkg: Fix ACPI NFIT GUID definitions 2016-03-07 13:08:26 +08:00
Acpi61.h MdePkg: Add NFIT definition from ACPI 6.1 2016-05-16 09:28:45 +08:00
AcpiAml.h Add ACPI5.0 header file. 2011-11-30 03:57:39 +00:00
AlertStandardFormatTable.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
Atapi.h MdePkg/IndustryStandard: fix build break due to latest Atapi.h change 2016-06-29 15:05:29 +08:00
Bluetooth.h MdePkg: Add UEFI2.5 bluetooth protocol/devicepath definition in MdePkg. 2015-05-06 02:21:48 +00:00
Bmp.h MdePkg: Move Bmp.h from IntelFrameworkModulePkg/Library/GenericBdsLib/ to MdePkg/Include/IndustryStandard. 2011-11-04 08:27:47 +00:00
DebugPort2Table.h MdePkg: Add ARM Serial Port Subtypes to DBG2 2016-04-01 16:45:54 +02:00
DebugPortTable.h Update license statement 2012-10-11 04:57:04 +00:00
Dhcp.h MdePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration. 2016-06-23 09:39:11 +08:00
ElTorito.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
Emmc.h MdePkg/IndustryStandard: Add SD/EMMC common definitions 2016-03-30 11:23:57 +08:00
HighPrecisionEventTimerTable.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
Hsti.h Add HSTI support. 2015-01-19 06:08:23 +00:00
Http11.h MdePkg:Http11.h: Add defines for "Expect" header 2016-04-27 10:15:17 +08:00
IScsiBootFirmwareTable.h 1. Add ISCSI iBFT CHAP types to IScsiBootFirmwareTable.h. 2013-12-10 09:14:39 +00:00
Ipmi.h MdePkg: Add Ipmi2.0 definitions head file. 2015-12-15 08:41:25 +00:00
IpmiNetFnApp.h MdePkg: Update Ipmi2.0 definitions header file. 2015-12-23 08:15:14 +00:00
IpmiNetFnBridge.h MdePkg: Add Ipmi2.0 definitions head file. 2015-12-15 08:41:25 +00:00
IpmiNetFnChassis.h MdePkg: Update Ipmi2.0 definitions header file. 2015-12-23 08:15:14 +00:00
IpmiNetFnFirmware.h MdePkg: Add Ipmi2.0 definitions head file. 2015-12-15 08:41:25 +00:00
IpmiNetFnGroupExtension.h MdePkg: Add Ipmi2.0 definitions head file. 2015-12-15 08:41:25 +00:00
IpmiNetFnSensorEvent.h MdePkg: Update Ipmi2.0 definitions header file. 2015-12-23 08:15:14 +00:00
IpmiNetFnStorage.h MdePkg: Update Ipmi2.0 definitions header file. 2015-12-23 08:15:14 +00:00
IpmiNetFnTransport.h MdePkg: Update Ipmi2.0 definitions header file. 2015-12-23 08:15:14 +00:00
LegacyBiosMpTable.h Typo for the old patch enhance code style. 2011-03-29 08:57:21 +00:00
Mbr.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
MemoryMappedConfigurationSpaceAccessTable.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
MemoryOverwriteRequestControlLock.h MdePkg: Update MorLock comment to latest doc. 2016-01-19 13:17:10 +00:00
Nvme.h MdePkg: Add a header for NVMe v1.1 spec. definitions. 2016-05-27 13:31:22 +08:00
Pal.h PAL_LOGICAL_PROCESSPR_OVERVIEW structure was incorrectly defined. And PAL_MC_ERROR_TYPE_INFO has new fields defined per the latest Itanium developer manual. 2012-10-12 06:13:33 +00:00
Pci.h MdePkg: Add PCI Express 2.1 and 3.0 structures 2014-01-09 21:55:03 +00:00
Pci22.h MdePkg/IndustryStandard: introduce EFI_PCI_CAPABILITY_ID_SHPC 2016-07-13 08:38:41 +02:00
Pci23.h Add missing PCI class code definition. 2012-11-02 06:13:14 +00:00
Pci30.h Add missing PCI class code definition. 2012-11-02 06:13:14 +00:00
PciCodeId.h Add missing PCI class code definition. 2012-11-02 06:13:14 +00:00
PciExpress21.h MdePkg/PCI: Add missing PCI/PCIE definitions 2016-06-22 13:53:15 +08:00
PciExpress30.h MdePkg/PCI: Add missing PCI/PCIE definitions 2016-06-22 13:53:15 +08:00
PciExpress31.h MdePkg/PCI: Add missing PCI/PCIE definitions 2016-06-22 13:53:15 +08:00
PeImage.h MdePkg: Added ARM Aarch64 support to PE/COFF support 2013-07-29 09:50:38 +00:00
Sal.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
Scsi.h MdePkg IndustryStandard/Scsi.h: Add Unmap command support 2016-05-20 13:42:42 +08:00
Sd.h MdePkg/IndustryStandard: Add SD/EMMC common definitions 2016-03-30 11:23:57 +08:00
SdramSpd.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
SerialPortConsoleRedirectionTable.h MdePkg: Add ARM Serial Port Subtype definitions 2016-04-01 16:45:54 +02:00
SmBios.h MdePkg: Move SMBIOS data into the IndustryStandard header. 2016-03-24 10:30:43 +08:00
SmBus.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
TcgPhysicalPresence.h Add TPM2 definition in trusted computing group. 2015-08-13 08:22:05 +00:00
TcgStorageCore.h MdePkg: Add TCG_BLOCK_SID_FEATURE_DESCRIPTOR definition. 2016-05-05 12:52:45 +08:00
TcgStorageOpal.h MdePkg: Add TCG_BLOCK_SID_FEATURE_DESCRIPTOR definition. 2016-05-05 12:52:45 +08:00
TcpaAcpi.h Add TPM2 related header file. 2013-09-18 05:29:06 +00:00
Tpm2Acpi.h Add TPM2 related header file. 2013-09-18 05:29:06 +00:00
Tpm12.h Change TPM_BASE to 0 per TPM spec. 2010-05-18 02:22:51 +00:00
Tpm20.h MdePkg: Add 3 macro defined in latest TPM2 specification. 2015-12-14 00:52:49 +00:00
TpmPtp.h MdePkg: Add TPM PTP definition. 2016-01-26 01:26:45 +00:00
TpmTis.h MdePkg: Add TPM TIS definition. 2016-01-26 01:26:58 +00:00
UefiTcgPlatform.h Add TPM2 definition in trusted computing group. 2015-08-13 08:22:05 +00:00
Usb.h MdePkg Add USB Spec constants to Usb.h 2014-11-24 14:53:53 +00:00
WatchdogActionTable.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
WatchdogResourceTable.h Update the copyright notice format 2010-04-23 15:46:20 +00:00
WindowsSmmSecurityMitigationTable.h MdePkg/WSMT.h: update header comment to use official URL link. 2016-05-24 20:06:20 +08:00
WindowsUxCapsule.h MdePkg: Refine the format of comment in WindowsUxCapsule.h 2015-06-04 01:41:53 +00:00