📄 21555drv.h
字号:
/* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -