Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/acpica/acpi_pcib_acpi.c
Context not available. | |||||
int *irq); | int *irq); | ||||
static struct resource *acpi_pcib_acpi_alloc_resource(device_t dev, | static struct resource *acpi_pcib_acpi_alloc_resource(device_t dev, | ||||
device_t child, int type, int *rid, | device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, | rman_res_t start, rman_res_t end, rman_res_t count, | ||||
u_int flags); | u_int flags); | ||||
#ifdef NEW_PCIB | #ifdef NEW_PCIB | ||||
static int acpi_pcib_acpi_adjust_resource(device_t dev, | static int acpi_pcib_acpi_adjust_resource(device_t dev, | ||||
device_t child, int type, struct resource *r, | device_t child, int type, struct resource *r, | ||||
u_long start, u_long end); | rman_res_t start, rman_res_t end); | ||||
#ifdef PCI_RES_BUS | #ifdef PCI_RES_BUS | ||||
static int acpi_pcib_acpi_release_resource(device_t dev, | static int acpi_pcib_acpi_release_resource(device_t dev, | ||||
device_t child, int type, int rid, | device_t child, int type, int rid, | ||||
Context not available. | |||||
#if defined(NEW_PCIB) && defined(PCI_RES_BUS) | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) | ||||
static int | static int | ||||
first_decoded_bus(struct acpi_hpcib_softc *sc, u_long *startp) | first_decoded_bus(struct acpi_hpcib_softc *sc, rman_res_t *startp) | ||||
{ | { | ||||
struct resource_list_entry *rle; | struct resource_list_entry *rle; | ||||
Context not available. | |||||
u_int slot, func, busok; | u_int slot, func, busok; | ||||
#if defined(NEW_PCIB) && defined(PCI_RES_BUS) | #if defined(NEW_PCIB) && defined(PCI_RES_BUS) | ||||
struct resource *bus_res; | struct resource *bus_res; | ||||
u_long start; | rman_res_t start; | ||||
int rid; | int rid; | ||||
#endif | #endif | ||||
uint8_t busno; | uint8_t busno; | ||||
Context not available. | |||||
struct resource * | struct resource * | ||||
acpi_pcib_acpi_alloc_resource(device_t dev, device_t child, int type, int *rid, | acpi_pcib_acpi_alloc_resource(device_t dev, device_t child, int type, int *rid, | ||||
u_long start, u_long end, u_long count, u_int flags) | rman_res_t start, rman_res_t end, rman_res_t count, u_int flags) | ||||
{ | { | ||||
#ifdef NEW_PCIB | #ifdef NEW_PCIB | ||||
struct acpi_hpcib_softc *sc; | struct acpi_hpcib_softc *sc; | ||||
Context not available. | |||||
#ifdef NEW_PCIB | #ifdef NEW_PCIB | ||||
int | int | ||||
acpi_pcib_acpi_adjust_resource(device_t dev, device_t child, int type, | acpi_pcib_acpi_adjust_resource(device_t dev, device_t child, int type, | ||||
struct resource *r, u_long start, u_long end) | struct resource *r, rman_res_t start, rman_res_t end) | ||||
{ | { | ||||
struct acpi_hpcib_softc *sc; | struct acpi_hpcib_softc *sc; | ||||
Context not available. |