ixp1200pci.h

来自「ixp1200EB vxworks pci BSP」· C头文件 代码 · 共 40 行

H
40
字号
/* 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 + =
减小字号Ctrl + -
显示快捷键?