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

📄 plxchip.h

📁 PCI9054RDK-LITE开发板的原程序
💻 H
字号:
#ifndef __PLXCHIP_H
#define __PLXCHIP_H

/*******************************************************************************
 * Copyright (c) 2005 PLX Technology, Inc.
 *
 * PLX Technology Inc. licenses this software under specific terms and
 * conditions.  Use of any of the software or derviatives thereof in any
 * product without a PLX Technology chip is strictly prohibited.
 *
 * PLX Technology, Inc. provides this software AS IS, WITHOUT ANY WARRANTY,
 * EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF
 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.  PLX makes no guarantee
 * or representations regarding the use of, or the results of the use of,
 * the software and documentation in terms of correctness, accuracy,
 * reliability, currentness, or otherwise; and you rely on the software,
 * documentation and results solely at your own risk.
 *
 * IN NO EVENT SHALL PLX BE LIABLE FOR ANY LOSS OF USE, LOSS OF BUSINESS,
 * LOSS OF PROFITS, INDIRECT, INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES
 * OF ANY KIND.  IN NO EVENT SHALL PLX'S TOTAL LIABILITY EXCEED THE SUM
 * PAID TO PLX FOR THE PRODUCT LICENSED HEREUNDER.
 *
 ******************************************************************************/

/******************************************************************************
 *
 * File Name:
 *
 *      PlxChip.h
 *
 * Description:
 *
 *      This file contains definitions specific to a PLX Chip.
 *
 * Revision History:
 *
 *      12-01-05 : PCI SDK v4.40
 *
 ******************************************************************************/


#include "Reg9054.h"




/**********************************************
*               Definitions
**********************************************/
#define PLX_CHIP_TYPE                       0x9054
#define PLX_DRIVER_NAME                     "Pci9054"
#define PLX_DRIVER_NAME_UNICODE             L"Pci9054"
#define PLX_DEFAULT_ID                      L"905410b5"
#define PLX_DEFAULT_DEV_VEN_ID              0x905410b5

#define REG_EEPROM_CTRL                     PCI9054_EEPROM_CTRL_STAT // EEPROM Control register offset
#define PLX_EEPROM_SIZE                     PCI9054_EEPROM_SIZE      // EEPROM size (bytes) used by PLX Chip
#define MAX_PLX_REG_OFFSET                  PCI9054_MAX_REG_OFFSET   // Max PCI register offset
#define NUMBER_OF_DMA_CHANNELS              PCI9054_DMA_CHANNELS     // Total number of DMA Channels
#define DEFAULT_SIZE_COMMON_BUFFER          0x00010000               // Default size of Common Buffer




#endif

⌨️ 快捷键说明

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