]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Pci30.h
remove PCI_MAX_SEGMENT from Industry Standard file.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Pci30.h
index c4a1b64ace7ce5b4aff0d287469399cf5716ecff..505a527ac26f7a9ea47e7ae4ab8f569d783f90eb 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   Support for PCI 3.0 standard.\r
 \r
-  Copyright (c) 2006, Intel Corporation                                                         \r
+  Copyright (c) 2006 - 2008, Intel Corporation                                                         \r
   All rights reserved. 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
 #ifndef __PCI30_H__\r
 #define __PCI30_H__\r
 \r
+\r
+#include <IndustryStandard/Pci23.h>\r
+\r
+///\r
+/// Definitions of PCI class bytes and manipulation macros.\r
+///\r
 #define PCI_CLASS_MASS_STORAGE_SATADPA   0x06\r
-#define PCI_CLASS_MASS_STORAGE_AHCI      PCI_CLASS_MASS_STORAGE_SATADPA\r
+#define   PCI_IF_MASS_STORAGE_SATA         0x00\r
+#define   PCI_IF_MASS_STORAGE_AHCI         0x01\r
+\r
+///\r
+/// PCI Capability List IDs and records\r
+///\r
+#define EFI_PCI_CAPABILITY_ID_PCIEXP  0x10\r
 \r
-#pragma pack(push, 1)\r
+#pragma pack(1)\r
 \r
+///\r
+/// PCI Data Structure Format\r
+/// Section 5.1.2, PCI Firmware Specification, Revision 3.0\r
+///\r
 typedef struct {\r
-  UINT32  Signature;    // "PCIR"\r
+  UINT32  Signature;    ///< "PCIR"\r
   UINT16  VendorId;\r
   UINT16  DeviceId;\r
   UINT16  DeviceListOffset;\r
@@ -37,9 +53,6 @@ typedef struct {
   UINT16  DMTFCLPEntryPointOffset;\r
 } PCI_3_0_DATA_STRUCTURE;\r
 \r
-#pragma pack(pop)\r
-\r
-\r
-#include <IndustryStandard/Pci23.h>\r
+#pragma pack()\r
 \r
 #endif\r