#include <pci/pcireg.h>
#include <pci/ids.h>
#include <pci/access.h>
Go to the source code of this file.
|
#define | PCI_INVALID_VENDORDEVICEID 0xffffffff |
|
#define | PCID_CLASS(class, dev) ((class << 8) | dev) |
|
#define | PCID_PCI2PCI_BRIDGE PCID_CLASS(PCIC_BRIDGE, PCIS_BRIDGE_PCI) |
|
|
enum | { PCISTS_ERR = -1,
PCISTS_OK = 0,
PCISTS_EINVAL = 1,
PCISTS_MSTABRT = 2
} |
|
enum | pci_system_type { PCI_SYSTEM_NONE = 0,
PCI_SYSTEM_HOST = 1,
PCI_SYSTEM_PERIPHERAL = 2
} |
|
enum | { PCI_LITTLE_ENDIAN = 0,
PCI_BIG_ENDIAN = 1
} |
|
|
int | pci_bus_count (void) |
|
void | pci_print (void) |
|
void | pci_print_dev (pci_dev_t dev) |
|
void | pci_print_device (int bus, int slot, int function) |
|
int | pci_for_each (int(*func)(pci_dev_t, void *), void *arg) |
|
int | pci_find (uint16_t ven, uint16_t dev, int index, pci_dev_t *pdev) |
|
|
enum pci_system_type | pci_system_type |
|
int | pci_endian |
|