Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pcivar.h
Show First 20 Lines • Show All 593 Lines • ▼ Show 20 Lines | |||||
uint32_t pcie_read_config(device_t dev, int reg, int width); | uint32_t pcie_read_config(device_t dev, int reg, int width); | ||||
void pcie_write_config(device_t dev, int reg, uint32_t value, int width); | void pcie_write_config(device_t dev, int reg, uint32_t value, int width); | ||||
uint32_t pcie_adjust_config(device_t dev, int reg, uint32_t mask, | uint32_t pcie_adjust_config(device_t dev, int reg, uint32_t mask, | ||||
uint32_t value, int width); | uint32_t value, int width); | ||||
bool pcie_flr(device_t dev, u_int max_delay, bool force); | bool pcie_flr(device_t dev, u_int max_delay, bool force); | ||||
int pcie_get_max_completion_timeout(device_t dev); | int pcie_get_max_completion_timeout(device_t dev); | ||||
bool pcie_wait_for_pending_transactions(device_t dev, u_int max_delay); | bool pcie_wait_for_pending_transactions(device_t dev, u_int max_delay); | ||||
void pci_print_faulted_dev(void); | |||||
#ifdef BUS_SPACE_MAXADDR | #ifdef BUS_SPACE_MAXADDR | ||||
#if (BUS_SPACE_MAXADDR > 0xFFFFFFFF) | #if (BUS_SPACE_MAXADDR > 0xFFFFFFFF) | ||||
#define PCI_DMA_BOUNDARY 0x100000000 | #define PCI_DMA_BOUNDARY 0x100000000 | ||||
#else | #else | ||||
#define PCI_DMA_BOUNDARY 0 | #define PCI_DMA_BOUNDARY 0 | ||||
#endif | #endif | ||||
#endif | #endif | ||||
Show All 36 Lines |