summaryrefslogtreecommitdiffstats
path: root/sys/mips/idt/obio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/idt/obio.c')
-rw-r--r--sys/mips/idt/obio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/mips/idt/obio.c b/sys/mips/idt/obio.c
index b7b917d..c8b4fef 100644
--- a/sys/mips/idt/obio.c
+++ b/sys/mips/idt/obio.c
@@ -59,8 +59,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 *);
@@ -156,7 +156,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