summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard/Pci30.h
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-27 01:52:32 +0000
commitbc14bdb317105f282ca5e6543e97ae545dd681df (patch)
treeef82bdce16719c2dd9a9c56963324633082a347a /MdePkg/Include/IndustryStandard/Pci30.h
parentefe08f48c555f56f16b568098e4d7047ce1e7e84 (diff)
downloadedk2-platforms-bc14bdb317105f282ca5e6543e97ae545dd681df.tar.xz
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6240 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Pci30.h')
-rw-r--r--MdePkg/Include/IndustryStandard/Pci30.h24
1 files changed, 18 insertions, 6 deletions
diff --git a/MdePkg/Include/IndustryStandard/Pci30.h b/MdePkg/Include/IndustryStandard/Pci30.h
index 0cd37c44bd..3bcf2327f1 100644
--- a/MdePkg/Include/IndustryStandard/Pci30.h
+++ b/MdePkg/Include/IndustryStandard/Pci30.h
@@ -1,7 +1,7 @@
/** @file
Support for PCI 3.0 standard.
- Copyright (c) 2006, Intel Corporation
+ Copyright (c) 2006 - 2008, 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
@@ -15,13 +15,28 @@
#ifndef __PCI30_H__
#define __PCI30_H__
+
+#include <IndustryStandard/Pci23.h>
+
+///
+/// Definitions of PCI class bytes and manipulation macros.
+///
#define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
-#define PCI_CLASS_MASS_STORAGE_AHCI PCI_CLASS_MASS_STORAGE_SATADPA
+#define PCI_IF_MASS_STORAGE_SATA 0x00
+#define PCI_IF_MASS_STORAGE_AHCI 0x01
+
+///
+/// PCI Capability List IDs and records
+///
+#define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
#pragma pack(1)
+///
+/// defined in PCI Firmware Specification
+///
typedef struct {
- UINT32 Signature; // "PCIR"
+ UINT32 Signature; ///< "PCIR"
UINT16 VendorId;
UINT16 DeviceId;
UINT16 DeviceListOffset;
@@ -39,7 +54,4 @@ typedef struct {
#pragma pack()
-
-#include <IndustryStandard/Pci23.h>
-
#endif