From 826a66d4c0e6983b11dd1156369b77ace1998534 Mon Sep 17 00:00:00 2001 From: niruiyu Date: Fri, 2 Nov 2012 06:13:14 +0000 Subject: 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 Reviewed-by: Liming Gao Reviewed-by: Hot Tian Reviewed-by: Elvin Li Reviewed-by: Feng Tian Reviewed-by: Jiewen Yao git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13919 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/IndustryStandard/Pci30.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'MdePkg/Include/IndustryStandard/Pci30.h') 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.
+ 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 @@ -19,13 +19,23 @@ #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. -- cgit v1.2.3