pci30.h revision 30fdf1140b8d1ce93f3821d986fa165552023440
130fdf1140b8d1ce93f3821d986fa165552023440lgao/** @file
230fdf1140b8d1ce93f3821d986fa165552023440lgao  Support for PCI 3.0 standard.
330fdf1140b8d1ce93f3821d986fa165552023440lgao
430fdf1140b8d1ce93f3821d986fa165552023440lgao  Copyright (c) 2006 - 2008, Intel Corporation  All rights reserved.
530fdf1140b8d1ce93f3821d986fa165552023440lgao
630fdf1140b8d1ce93f3821d986fa165552023440lgao  This program and the accompanying materials are licensed and made available
730fdf1140b8d1ce93f3821d986fa165552023440lgao  under the terms and conditions of the BSD License which accompanies this
830fdf1140b8d1ce93f3821d986fa165552023440lgao  distribution.  The full text of the license may be found at:
930fdf1140b8d1ce93f3821d986fa165552023440lgao    http://opensource.org/licenses/bsd-license.php
1030fdf1140b8d1ce93f3821d986fa165552023440lgao
1130fdf1140b8d1ce93f3821d986fa165552023440lgao  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
1230fdf1140b8d1ce93f3821d986fa165552023440lgao  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
1330fdf1140b8d1ce93f3821d986fa165552023440lgao
1430fdf1140b8d1ce93f3821d986fa165552023440lgao  File Name:  pci30.h
1530fdf1140b8d1ce93f3821d986fa165552023440lgao
1630fdf1140b8d1ce93f3821d986fa165552023440lgao**/
1730fdf1140b8d1ce93f3821d986fa165552023440lgao
1830fdf1140b8d1ce93f3821d986fa165552023440lgao#ifndef _PCI30_H
1930fdf1140b8d1ce93f3821d986fa165552023440lgao#define _PCI30_H
2030fdf1140b8d1ce93f3821d986fa165552023440lgao
2130fdf1140b8d1ce93f3821d986fa165552023440lgao//#include "pci23.h"
2230fdf1140b8d1ce93f3821d986fa165552023440lgao
2330fdf1140b8d1ce93f3821d986fa165552023440lgao#define PCI_CLASS_MASS_STORAGE_SATADPA   0x06
2430fdf1140b8d1ce93f3821d986fa165552023440lgao
2530fdf1140b8d1ce93f3821d986fa165552023440lgao#pragma pack(push, 1)
2630fdf1140b8d1ce93f3821d986fa165552023440lgao
2730fdf1140b8d1ce93f3821d986fa165552023440lgaotypedef struct {
2830fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT32  Signature;    // "PCIR"
2930fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  VendorId;
3030fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  DeviceId;
3130fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  DeviceListOffset;
3230fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  Length;
3330fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT8   Revision;
3430fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT8   ClassCode[3];
3530fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  ImageLength;
3630fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  CodeRevision;
3730fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT8   CodeType;
3830fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT8   Indicator;
3930fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  MaxRuntimeImageLength;
4030fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  ConfigUtilityCodeHeaderOffset;
4130fdf1140b8d1ce93f3821d986fa165552023440lgao  UINT16  DMTFCLPEntryPointOffset;
4230fdf1140b8d1ce93f3821d986fa165552023440lgao} PCI_3_0_DATA_STRUCTURE;
4330fdf1140b8d1ce93f3821d986fa165552023440lgao
4430fdf1140b8d1ce93f3821d986fa165552023440lgao#pragma pack(pop)
4530fdf1140b8d1ce93f3821d986fa165552023440lgao
4630fdf1140b8d1ce93f3821d986fa165552023440lgao#endif
47