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
Acpi20.h
Acpi30.h
Acpi40.h
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
AlertStandardFormatTable.h
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
DebugPort2Table.h MdePkg: Add ARM Serial Port Subtypes to DBG2 2016-04-01 16:45:54 +02:00
DebugPortTable.h
Dhcp.h MdePkg: Refine codes related to Dhcpv4 and Dhcpv6 configuration. 2016-06-23 09:39:11 +08:00
ElTorito.h
Emmc.h MdePkg/IndustryStandard: Add SD/EMMC common definitions 2016-03-30 11:23:57 +08:00
HighPrecisionEventTimerTable.h
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
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
Mbr.h
MemoryMappedConfigurationSpaceAccessTable.h
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
Pci.h
Pci22.h MdePkg/IndustryStandard: introduce EFI_PCI_CAPABILITY_ID_SHPC 2016-07-13 08:38:41 +02:00
Pci23.h
Pci30.h
PciCodeId.h
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
Sal.h
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
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
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
Tpm2Acpi.h
Tpm12.h
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
WatchdogResourceTable.h
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