summaryrefslogtreecommitdiffstats
path: root/sys/mips/adm5120/obio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/adm5120/obio.c')
-rw-r--r--sys/mips/adm5120/obio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/adm5120/obio.c b/sys/mips/adm5120/obio.c
index 788e3a8..46c09b7 100644
--- a/sys/mips/adm5120/obio.c
+++ b/sys/mips/adm5120/obio.c
@@ -103,8 +103,8 @@ static int obio_activate_resource(device_t, device_t, int, int,
struct resource *);
static device_t obio_add_child(device_t, u_int, const char *, int);
static struct resource *
- obio_alloc_resource(device_t, device_t, int, int *, u_long,
- u_long, u_long, u_int);
+ obio_alloc_resource(device_t, device_t, int, int *, rman_res_t,
+ rman_res_t, rman_res_t, u_int);
static int obio_attach(device_t);
static int obio_deactivate_resource(device_t, device_t, int, int,
struct resource *);
@@ -222,7 +222,7 @@ obio_attach(device_t dev)
static struct resource *
obio_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 obio_softc *sc = device_get_softc(bus);
struct obio_ivar *ivar = device_get_ivars(child);
OpenPOWER on IntegriCloud