2 Support for PCI 3.0 standard.
4 Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
13 #include <IndustryStandard/Pci23.h>
16 /// PCI_CLASS_MASS_STORAGE, Base Class 01h.
19 #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
20 #define PCI_IF_MASS_STORAGE_SATA 0x00
21 #define PCI_IF_MASS_STORAGE_AHCI 0x01
25 /// PCI_CLASS_WIRELESS, Base Class 0Dh.
28 #define PCI_SUBCLASS_ETHERNET_80211A 0x20
29 #define PCI_SUBCLASS_ETHERNET_80211B 0x21
33 Macro that checks whether device is a SATA controller.
35 @param _p Specified device.
37 @retval TRUE Device is a SATA controller.
38 @retval FALSE Device is not a SATA controller.
41 #define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA)
44 /// PCI Capability List IDs and records
46 #define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
51 /// PCI Data Structure Format
52 /// Section 5.1.2, PCI Firmware Specification, Revision 3.0
55 UINT32 Signature
; ///< "PCIR"
58 UINT16 DeviceListOffset
;
66 UINT16 MaxRuntimeImageLength
;
67 UINT16 ConfigUtilityCodeHeaderOffset
;
68 UINT16 DMTFCLPEntryPointOffset
;
69 } PCI_3_0_DATA_STRUCTURE
;