Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci.html on line 8

ado_pci

Data structure that describes a selected PCI card

Synopsis:

struct ado_pci
{
    int32_t     index;
    int32_t     id;     
    void *      handle;        
    uint16_t    vendor;
    uint16_t    device;
    uint16_t    subsystem;
    uint16_t    subsysvendor;
    uint8_t     devfunc;
    uint8_t     revision;
    uint8_t     class_protocol;
    uint8_t     zero0;          
    uint32_t    irq;
    uint64_t    bmstr;          
    uint64_t    iobase[6];
    uint32_t    iolen[6];
    uint32_t    class;
    uint32_t    spare[3];
};

Description:

The ado_pci structure describes the PCI card selected by ado_pci_device(). The members include:

index
Index of the device
id
The connection handle to the PCI server. See pci_attach() in the QNX Library Reference.
handle
A handle that you can use to identify the PCI device. See pci_attach_device() in the QNX Library Reference.
vendor
Vendor ID.
device
Device ID.
subsystem
Subsystem ID.
subsysvendor
Subsystem vendor ID.
devfunc
Device/function ID.
revision
Device revision
class_protocol
Class protocol.
irq
Interrupt number.
bmstr
Translation from the CPU busmaster address to the PCI busmaster address.
iobase[6]
CPU base address.
iolen[6]
Size of the base address aperture into the board.
class
Class code.

Classification:

QNX Neutrino

See also:

ado_pci_device(), ado_pci_release()

pci_attach(), pci_attach_device() in the QNX Library Reference


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci.html on line 162

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/ddk_en/audio/api-ref/ado_pci.html on line 162