X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FPci30.h;h=a4ab909eb53434c5e196916d0430840be1d0db6c;hb=5f87f979c6f5b05f97eab02f7e3c01fabeb839c6;hp=3bcf2327f143e15832727feb1bf8269115642406;hpb=766f4bc13745f77fbcd68efc7d689f493c67b833;p=mirror_edk2.git diff --git a/MdePkg/Include/IndustryStandard/Pci30.h b/MdePkg/Include/IndustryStandard/Pci30.h index 3bcf2327f1..a4ab909eb5 100644 --- a/MdePkg/Include/IndustryStandard/Pci30.h +++ b/MdePkg/Include/IndustryStandard/Pci30.h @@ -1,8 +1,8 @@ /** @file Support for PCI 3.0 standard. - Copyright (c) 2006 - 2008, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -19,11 +19,32 @@ #include /// -/// Definitions of PCI class bytes and manipulation macros. +/// PCI_CLASS_MASS_STORAGE, Base Class 01h. /// +///@{ #define PCI_CLASS_MASS_STORAGE_SATADPA 0x06 #define PCI_IF_MASS_STORAGE_SATA 0x00 #define PCI_IF_MASS_STORAGE_AHCI 0x01 +///@} + +/// +/// PCI_CLASS_WIRELESS, Base Class 0Dh. +/// +///@{ +#define PCI_SUBCLASS_ETHERNET_80211A 0x20 +#define PCI_SUBCLASS_ETHERNET_80211B 0x21 +///@} + +/** + Macro that checks whether device is a SATA controller. + + @param _p Specified device. + + @retval TRUE Device is a SATA controller. + @retval FALSE Device is not a SATA controller. + +**/ +#define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA) /// /// PCI Capability List IDs and records @@ -33,7 +54,8 @@ #pragma pack(1) /// -/// defined in PCI Firmware Specification +/// PCI Data Structure Format +/// Section 5.1.2, PCI Firmware Specification, Revision 3.0 /// typedef struct { UINT32 Signature; ///< "PCIR"