21555drv.h
来自「vxworks的BSP开发配置文件」· C头文件 代码 · 共 55 行
H
55 行
/* 21555drv.c - Intel 21555 Non-Transparent Bridge Driver *//* Copyright 2000 Intel Corp. *//*modification history--------------------01c,10jul02,scm add C++ protection...01b,17jul01,jdg Allow variable bridge configurations01a,20dec00,jdg Created*//*DESCRIPTIONThis library provides support for the Intel 21555 Non-transparent Bridge.*/#ifndef INC21555drvh#define INC21555drvh#ifdef __cplusplusextern "C" {#endif#define INT21555_VEND_ID 0x8086#define INT21555_DEVICE_ID 0xB555/* define config space addrs */#define PCI_DS_MEM_0_SETUP 0xAC#define PCI_DS_IOMEM_1_SETUP 0xB0#define PCI_DS_MEM_2_SETUP 0xB4#define PCI_DS_MEM_3_SETUP 0xB8#define PCI_DS_IOMEM_1_TBASE 0x98#define PCI_DS_MEM_2_TBASE 0x9C#define PCI_US_IOMEM_0_SETUP 0xC4#define PCI_US_MEM_1_SETUP 0xC8#define PCI_CHIP_CTRL_0 0xCC#define PCI_CHIP_CTRL_1 0xCE/* 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 */#ifdef __cplusplus}#endif#endif /* ifdef INC21555drvh */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?