Changeset View
Changeset View
Standalone View
Standalone View
sys/powerpc/ofw/ofw_pcib_pci.c
Show All 40 Lines | |||||
#include <dev/ofw/ofw_pci.h> | #include <dev/ofw/ofw_pci.h> | ||||
#include <dev/ofw/ofw_bus.h> | #include <dev/ofw/ofw_bus.h> | ||||
#include <dev/ofw/ofw_bus_subr.h> | #include <dev/ofw/ofw_bus_subr.h> | ||||
#include <dev/pci/pcivar.h> | #include <dev/pci/pcivar.h> | ||||
#include <dev/pci/pcireg.h> | #include <dev/pci/pcireg.h> | ||||
#include <dev/pci/pcib_private.h> | #include <dev/pci/pcib_private.h> | ||||
#include <machine/intr_machdep.h> | #include <machine/intr.h> | ||||
#include "pcib_if.h" | #include "pcib_if.h" | ||||
static int ofw_pcib_pci_probe(device_t bus); | static int ofw_pcib_pci_probe(device_t bus); | ||||
static int ofw_pcib_pci_attach(device_t bus); | static int ofw_pcib_pci_attach(device_t bus); | ||||
static phandle_t ofw_pcib_pci_get_node(device_t bus, device_t dev); | static phandle_t ofw_pcib_pci_get_node(device_t bus, device_t dev); | ||||
static int ofw_pcib_pci_route_interrupt(device_t bridge, device_t dev, | static int ofw_pcib_pci_route_interrupt(device_t bridge, device_t dev, | ||||
int intpin); | int intpin); | ||||
▲ Show 20 Lines • Show All 115 Lines • Show Last 20 Lines |