Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ofw/ofwpci.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | struct ofw_pci_softc { | ||||
bus_space_tag_t sc_memt; | bus_space_tag_t sc_memt; | ||||
bus_dma_tag_t sc_dmat; | bus_dma_tag_t sc_dmat; | ||||
int sc_pci_domain; | int sc_pci_domain; | ||||
struct ofw_bus_iinfo sc_pci_iinfo; | struct ofw_bus_iinfo sc_pci_iinfo; | ||||
}; | }; | ||||
int ofw_pcib_init(device_t); | int ofw_pcib_init(device_t); | ||||
void ofw_pcib_fini(device_t); | |||||
int ofw_pcib_attach(device_t); | int ofw_pcib_attach(device_t); | ||||
int ofw_pcib_read_ivar(device_t, device_t, int, uintptr_t *); | int ofw_pcib_read_ivar(device_t, device_t, int, uintptr_t *); | ||||
int ofw_pcib_write_ivar(device_t, device_t, int, uintptr_t); | int ofw_pcib_write_ivar(device_t, device_t, int, uintptr_t); | ||||
int ofw_pcib_route_interrupt(device_t, device_t, int); | int ofw_pcib_route_interrupt(device_t, device_t, int); | ||||
int ofw_pcib_nranges(phandle_t, struct ofw_pci_cell_info *); | int ofw_pcib_nranges(phandle_t, struct ofw_pci_cell_info *); | ||||
#endif /* _DEV_OFW_OFWPCI_H_ */ | #endif /* _DEV_OFW_OFWPCI_H_ */ |