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

📄 21555drv.h

📁 21555 driver for vxworks in ixp12
💻 H
字号:
/* 21555drv.c - Intel 21555 Non-Transparent Bridge Driver */

/* Copyright 2000 Intel Corp. */

/*
modification history
--------------------
01a,20dec00,jdg  Created
*/

/*
DESCRIPTION
This library provides support for the Intel 21555 Non-transparent Bridge.
*/

#ifndef INC21555drvh
#define INC21555drvh


#define INT21555_VEND_ID   0x8086
#define INT21555_DEVICE_ID 0xB555

/* define config space addrs */
#define PCI_DS_IOMEM_1_SETUP 0xB0
#define PCI_DS_MEM_2_SETUP   0xB4
#define PCI_DS_IOMEM_1_TBASE 0x98
#define PCI_DS_MEM_2_TBASE   0x9C
#define PCI_CHIP_CTRL_0      0xCC

/* define IO space addrs */
#define PCI_PRI_CLR_IRQ      0x98  /* 16-bit: Primary Clear Int Req */
#define PCI_PRI_SET_IRQ      0x9C  /* 16-bit: Primary Set Int Req */
#define PCI_PRI_CLR_IRQ_MASK 0xA0  /* 16-bit: Primary Clear Int Mask */
#define PCI_PRI_SET_IRQ_MASK 0xA4  /* 16-bit: Primary Set Int Req */


#define PCI_CHIP_C0_PR_ACC_LOCK (1 << 10)  /* Primary Access Lockout */


#endif /* ifdef INC21555drvh */

⌨️ 快捷键说明

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