Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/pci/pci_private.h
Show All 34 Lines | |||||
/* | /* | ||||
* Export definitions of the pci bus so that we can more easily share | * Export definitions of the pci bus so that we can more easily share | ||||
* it with "subclass" buses. | * it with "subclass" buses. | ||||
*/ | */ | ||||
DECLARE_CLASS(pci_driver); | DECLARE_CLASS(pci_driver); | ||||
struct pci_softc { | struct pci_softc { | ||||
bus_dma_tag_t sc_dma_tag; | bus_dma_tag_t sc_dma_tag; | ||||
#ifdef PCI_RES_BUS | |||||
struct resource *sc_bus; | struct resource *sc_bus; | ||||
#endif | |||||
}; | }; | ||||
extern int pci_do_power_resume; | extern int pci_do_power_resume; | ||||
extern int pci_do_power_suspend; | extern int pci_do_power_suspend; | ||||
void pci_add_children(device_t dev, int domain, int busno); | void pci_add_children(device_t dev, int domain, int busno); | ||||
void pci_add_child(device_t bus, struct pci_devinfo *dinfo); | void pci_add_child(device_t bus, struct pci_devinfo *dinfo); | ||||
device_t pci_add_iov_child(device_t bus, device_t pf, uint16_t rid, | device_t pci_add_iov_child(device_t bus, device_t pf, uint16_t rid, | ||||
▲ Show 20 Lines • Show All 134 Lines • Show Last 20 Lines |