summaryrefslogtreecommitdiff
path: root/MdePkg/Include/IndustryStandard/Pci30.h
diff options
context:
space:
mode:
authorniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2012-11-02 06:13:14 +0000
committerniruiyu <niruiyu@6f19259b-4bc3-4df7-8a09-765794883524>2012-11-02 06:13:14 +0000
commit826a66d4c0e6983b11dd1156369b77ace1998534 (patch)
tree9841a9daac53da08d0303e95ced71cbe44a5261b /MdePkg/Include/IndustryStandard/Pci30.h
parent44c56530b30805a85fb58564da83d2811e762487 (diff)
downloadedk2-platforms-826a66d4c0e6983b11dd1156369b77ace1998534.tar.xz
Add missing PCI class code definition.
PCI22/PCI23/PCI30 spec were reviewed and the missing definitions were added to accordingly Pci22.h/Pci23.h/Pci30.h. All other class code definitions that are not defined in PCI Local Bus specification but in PCI Code and ID Assignment specification are defined in PciCodeId.h. Signed-off-by: Ruiyu Ni<ruiyu.ni@intel.com> Reviewed-by: Liming Gao<liming.gao@intel.com> Reviewed-by: Hot Tian<hot.tian@intel.com> Reviewed-by: Elvin Li<elvin.li@intel.com> Reviewed-by: Feng Tian<feng.tian@intel.com> Reviewed-by: Jiewen Yao<jiewen.yao@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13919 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/IndustryStandard/Pci30.h')
-rw-r--r--MdePkg/Include/IndustryStandard/Pci30.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/MdePkg/Include/IndustryStandard/Pci30.h b/MdePkg/Include/IndustryStandard/Pci30.h
index 4c71385a18..a4ab909eb5 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 - 2010, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
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
@@ -19,13 +19,23 @@
#include <IndustryStandard/Pci23.h>
///
-/// 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.