⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pvrpci.h

📁 Lido PXA270平台开发板的最新BSP,包括源代码
💻 H
字号:
/******************************************************************************
* Name         : pvrpci.h
* Title        : PCI config definitions.
* Author(s)    : Imagination Technologies
* Created      : 1st August 2003
*
* Copyright    : 2003 by Imagination Technologies Limited.
*                All rights reserved.  No part of this software, either
*                material or conceptual may be copied or distributed,
*                transmitted, transcribed, stored in a retrieval system 
*                or translated into any human or computer language in any
*                form by any means, electronic, mechanical, manual or
*                other-wise, or disclosed to third parties without the
*                express written permission of Imagination Technologies
*                Limited, Unit 8, HomePark Industrial Estate, 
*                King's Langley, Hertfordshire, WD4 8LZ, U.K.
*
* Description  : PCI config definitions.
*
* Platform     : Generic
*
* Notes        : formerly pvrpci.h mks rev 1.2
*
* Modifications:-
* $Log: pvrpci.h $
*
*
******************************************************************************/

#if !defined (__PVRPCI_H__)
#define __PVRPCI_H__

/*****************************************************************************
    PCI Config register addresses.
*****************************************************************************/
#define PCI_MAX_BUSES 255
#define PCI_MAX_DEVS  32
#define PCI_MAX_FUNCS 8

#define PCI_CMD_ENABLE_MEM_SPACE   2
#define PCI_HEADER_MULTIFUNC       0x80

#define PCI_CONFIG_VENDOR_ID       0x0000
#define PCI_CONFIG_DEVICE_ID       0x0002
#define PCI_CONFIG_COMMAND         0x0004
#define PCI_CONFIG_STATUS          0x0006
#define PCI_CONFIG_HW_REV          0x0008
#define PCI_CONFIG_FB_BASE         0x0010
#define PCI_CONFIG_HEADER_TYPE     0x000E
#define PCI_CONFIG_REG_BASE        0x0014
#define PCI_CONFIG_VGAFB_BASE      0x0018
#define PCI_CONFIG_VGAREG_BASE     0x001C
#define PCI_CONFIG_SUBVENDOR_ID    0x002C
#define PCI_CONFIG_SUBSYS_ID       0x002E
#define PCI_CONFIG_ROM_BASE        0x0030
#define PCI_CONFIG_CAPS_POINTER    0x0034

#define PCI_CONFIG_CODEBASE        0x00F0
#define PCI_CONFIG_DOS_BUFFBASE    0x00FF

#define PCI_CONFIG_CLASS_BRIDGE_DEV       0x6
#define PCI_AGP_CAP_REG_ID         0x0002

#define PCI_CONFIG_T16	0x50


/*****************************************************************************
    PCI Hardware Rev Field Values
*****************************************************************************/
/* VENDOR IDs */
#define ST_VENDOR_ID			0x104A
#define INTEL_VENDOR_ID			0x8086

/*  CARD SPECIFIC DEVICE AND VENDOR IDs*/
#define PMX_PCI_NP1_DEVICE_ID	0x0010
#define PMX_PCI_NP1_VENDOR_ID	ST_VENDOR_ID
#define PVRS3X1_PCI_HWREV		5
#define PVRS3X1ES2_PCI_HWREV	0x7
#define PVRS3X1ES3_PCI_HWREV	0xf
#define PVRS3X1ES4_PCI_HWREV	0x1f

#define PMX_PCI_MBX1_DEVICE_ID 	0x6666/*!dummy values!*/
#define PMX_PCI_MBX1_VENDOR_ID 	0x6666/*!dummy values!*/

#endif /* __PVRPCI_H__ */
/*****************************************************************************
 End of file (pvrpci)
*****************************************************************************/

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -