]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Pci30.h
MdePkg: Fix ACPI NFIT GUID definitions
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci30.h
index 505a527ac26f7a9ea47e7ae4ab8f569d783f90eb..a4ab909eb53434c5e196916d0430840be1d0db6c 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Support for PCI 3.0 standard.\r
 \r
-  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials                          \r
   are licensed and made available under the terms and conditions of the BSD License         \r
   which accompanies this distribution.  The full text of the license may be found at        \r
   http://opensource.org/licenses/bsd-license.php                                            \r
 #include <IndustryStandard/Pci23.h>\r
 \r
 ///\r
-/// Definitions of PCI class bytes and manipulation macros.\r
+/// PCI_CLASS_MASS_STORAGE, Base Class 01h.\r
 ///\r
+///@{\r
 #define PCI_CLASS_MASS_STORAGE_SATADPA   0x06\r
 #define   PCI_IF_MASS_STORAGE_SATA         0x00\r
 #define   PCI_IF_MASS_STORAGE_AHCI         0x01\r
+///@}\r
+\r
+///\r
+/// PCI_CLASS_WIRELESS, Base Class 0Dh.\r
+///\r
+///@{\r
+#define PCI_SUBCLASS_ETHERNET_80211A    0x20\r
+#define PCI_SUBCLASS_ETHERNET_80211B    0x21\r
+///@}\r
+\r
+/**\r
+  Macro that checks whether device is a SATA controller.\r
+\r
+  @param  _p      Specified device.\r
+\r
+  @retval TRUE    Device is a SATA controller.\r
+  @retval FALSE   Device is not a SATA controller.\r
+\r
+**/\r
+#define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA)\r
 \r
 ///\r
 /// PCI Capability List IDs and records\r