📄 ixp1200pci.h
字号:
/* ixp1200Pci.c - Intel IXP1200 PCI Unit driver */
/* Copyright 1998 Wind River Systems, Inc.; Copyright 1999 Intel Corp. */
/*
modification history
--------------------
01a,24apr00,drj extracted from ixp1200Pci.c, version 01c
*/
#ifndef INCixp1200pcih
#define INCixp1200pcih
enum PciBarId{CSR_BAR=0, IO_BAR, SD_BAR, NO_BAR};
typedef struct {
UINT32 size;
UINT32 address;
} PciBar;
typedef struct {
int bus;
int device;
int func;
BOOL error;
UINT16 vendor_id;
UINT16 device_id;
PciBar bar[7];
} PciDevice;
#if defined(__cplusplus)
extern "C"
{
#endif /* __cplusplus */
extern PciDevice *pciInfoGet(unsigned short device);
#if defined(__cplusplus)
}
#endif /* __cplusplus */
#endif /* ifndef INCixp1200pcih */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -