Changeset View
Changeset View
Standalone View
Standalone View
sys/arm/versatile/versatile_pci.c
Show First 20 Lines • Show All 299 Lines • ▼ Show 20 Lines | case PCIB_IVAR_BUS: | ||||
return (0); | return (0); | ||||
} | } | ||||
return (ENOENT); | return (ENOENT); | ||||
} | } | ||||
static struct resource * | static struct resource * | ||||
versatile_pci_alloc_resource(device_t bus, device_t child, int type, int *rid, | versatile_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 versatile_pci_softc *sc = device_get_softc(bus); | struct versatile_pci_softc *sc = device_get_softc(bus); | ||||
struct resource *rv; | struct resource *rv; | ||||
struct rman *rm; | struct rman *rm; | ||||
dprintf("Alloc resources %d, %08lx..%08lx, %ld\n", type, start, end, count); | dprintf("Alloc resources %d, %08lx..%08lx, %ld\n", type, start, end, count); | ||||
▲ Show 20 Lines • Show All 205 Lines • Show Last 20 Lines |