devLib2  2.12
Data Fields
epicsPCIID Struct Reference

PCI device identifier. More...

#include <devLibPCI.h>

Data Fields

epicsUInt32 device
 
epicsUInt32 vendor
 
epicsUInt32 sub_device
 
epicsUInt32 sub_vendor
 
epicsUInt32 pci_class
 
epicsUInt16 revision
 

Detailed Description

PCI device identifier.

This structure is used to hold identifying information for a PCI device. When used for searching each field can hold a specific value or a wildcard.

Fields are oversized to allow a distinct wildcard value.

There is a DEVPCI_ANY_* wildcard macro for each field. Most will use the convienence macros defined below.

PCI identifer lists should be defined like:

static const epicsPCIID mydevs[] = {
DEVPCI_SUBDEVICE_SUBVENDOR( 0x1234, 0x1030, 0x0001, 0x4321 ),
DEVPCI_SUBDEVICE_SUBVENDOR( 0x1234, 0x1030, 0x0002, 0x4321 ),
};

Definition at line 55 of file devLibPCI.h.

Field Documentation

◆ device

epicsUInt32 epicsPCIID::device

Definition at line 56 of file devLibPCI.h.

◆ pci_class

epicsUInt32 epicsPCIID::pci_class

Definition at line 58 of file devLibPCI.h.

◆ revision

epicsUInt16 epicsPCIID::revision

Definition at line 59 of file devLibPCI.h.

◆ sub_device

epicsUInt32 epicsPCIID::sub_device

Definition at line 57 of file devLibPCI.h.

◆ sub_vendor

epicsUInt32 epicsPCIID::sub_vendor

Definition at line 57 of file devLibPCI.h.

◆ vendor

epicsUInt32 epicsPCIID::vendor

Definition at line 56 of file devLibPCI.h.


The documentation for this struct was generated from the following file: