add 2 class code definitions defiled in PCI 2.3 spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9056 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
vanjeff 2009-08-12 05:30:44 +00:00
parent 945f5f400b
commit 179d85c889
1 changed files with 15 additions and 3 deletions

View File

@ -1,7 +1,7 @@
/** @file
Support for PCI 2.3 standard.
Copyright (c) 2006 - 2008, Intel Corporation
Copyright (c) 2006 - 2009, 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
@ -18,9 +18,21 @@
#include <IndustryStandard/Pci22.h>
///
/// Definitions of PCI class bytes and manipulation macros.
/// PCI_CLASS_MASS_STORAGE, Base Class 01h
///
#define PCI_IF_EHCI 0x20
///@{
#define PCI_CLASS_MASS_STORAGE_ATA 0x05
#define PCI_IF_MASS_STORAGE_SINGLE_DMA 0x20
#define PCI_IF_MASS_STORAGE_CHAINED_DMA 0x30
///@}
///
/// PCI_CLASS_SERIAL, Base Class 0Ch
///
///@{
#define PCI_IF_EHCI 0x20
#define PCI_CLASS_SERIAL_IB 0x06
///@}
///
/// defined in PCI Express Spec.