Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/atkbdc/atkbdc_isa.c
Context not available. | |||||
static device_t atkbdc_isa_add_child(device_t bus, u_int order, const char *name, | static device_t atkbdc_isa_add_child(device_t bus, u_int order, const char *name, | ||||
int unit); | int unit); | ||||
static struct resource *atkbdc_isa_alloc_resource(device_t dev, device_t child, | static struct resource *atkbdc_isa_alloc_resource(device_t dev, device_t child, | ||||
int type, int *rid, u_long start, u_long end, | int type, int *rid, rman_res_t start, rman_res_t end, | ||||
u_long count, u_int flags); | rman_res_t count, u_int flags); | ||||
static int atkbdc_isa_release_resource(device_t dev, device_t child, | static int atkbdc_isa_release_resource(device_t dev, device_t child, | ||||
int type, int rid, struct resource *r); | int type, int rid, struct resource *r); | ||||
Context not available. | |||||
{ | { | ||||
struct resource *port0; | struct resource *port0; | ||||
struct resource *port1; | struct resource *port1; | ||||
u_long start; | rman_res_t start; | ||||
u_long count; | rman_res_t count; | ||||
int error; | int error; | ||||
int rid; | int rid; | ||||
#if defined(__i386__) || defined(__amd64__) | #if defined(__i386__) || defined(__amd64__) | ||||
Context not available. | |||||
struct resource * | struct resource * | ||||
atkbdc_isa_alloc_resource(device_t dev, device_t child, int type, int *rid, | atkbdc_isa_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) | ||||
{ | { | ||||
atkbdc_softc_t *sc; | atkbdc_softc_t *sc; | ||||
Context not available. |