Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/xscale/i8134x/i81342_pci.c
Context not available. | |||||
static struct resource * | static struct resource * | ||||
i81342_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, | i81342_pci_alloc_resource(device_t bus, 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) | ||||
{ | { | ||||
struct i81342_pci_softc *sc = device_get_softc(bus); | struct i81342_pci_softc *sc = device_get_softc(bus); | ||||
struct resource *rv; | struct resource *rv; | ||||
Context not available. | |||||
i81342_pci_activate_resource(device_t bus, device_t child, int type, int rid, | i81342_pci_activate_resource(device_t bus, device_t child, int type, int rid, | ||||
struct resource *r) | struct resource *r) | ||||
{ | { | ||||
u_long p; | bus_space_handle_t p; | ||||
int error; | int error; | ||||
if (type == SYS_RES_MEMORY) { | if (type == SYS_RES_MEMORY) { | ||||
Context not available. |