Files
system76-edk2/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
..
2011-11-30 03:57:39 +00:00
2011-11-30 03:57:39 +00:00
2011-11-30 03:57:39 +00:00
2011-11-30 03:57:39 +00:00
2016-02-14 14:06:31 +08:00
2011-11-30 03:57:39 +00:00
2012-10-11 04:57:04 +00:00
2010-04-23 15:46:20 +00:00
2015-01-19 06:08:23 +00:00
2010-04-23 15:46:20 +00:00
2012-11-02 06:13:14 +00:00
2012-11-02 06:13:14 +00:00
2010-04-23 15:46:20 +00:00
2010-04-23 15:46:20 +00:00
2010-04-23 15:46:20 +00:00
2013-09-18 05:29:06 +00:00
2013-09-18 05:29:06 +00:00
2010-05-18 02:22:51 +00:00
2016-01-26 01:26:45 +00:00
2016-01-26 01:26:58 +00:00
2014-11-24 14:53:53 +00:00