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
12 #include <IndustryStandard/Pci23.h>
15 /// PCI_CLASS_MASS_STORAGE, Base Class 01h.
18 #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
19 #define PCI_IF_MASS_STORAGE_SATA 0x00
20 #define PCI_IF_MASS_STORAGE_AHCI 0x01
24 /// PCI_CLASS_WIRELESS, Base Class 0Dh.
27 #define PCI_SUBCLASS_ETHERNET_80211A 0x20
28 #define PCI_SUBCLASS_ETHERNET_80211B 0x21
32 Macro that checks whether device is a SATA controller.
34 @param _p Specified device.
36 @retval TRUE Device is a SATA controller.
37 @retval FALSE Device is not a SATA controller.
40 #define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA)
43 /// PCI Capability List IDs and records
45 #define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
50 /// PCI Data Structure Format
51 /// Section 5.1.2, PCI Firmware Specification, Revision 3.0
54 UINT32 Signature
; ///< "PCIR"
57 UINT16 DeviceListOffset
;
65 UINT16 MaxRuntimeImageLength
;
66 UINT16 ConfigUtilityCodeHeaderOffset
;
67 UINT16 DMTFCLPEntryPointOffset
;
68 } PCI_3_0_DATA_STRUCTURE
;