summaryrefslogtreecommitdiffstats
path: root/sys/mips/idt
diff options
context:
space:
mode:
Diffstat (limited to 'sys/mips/idt')
-rw-r--r--sys/mips/idt/idtpci.c2
-rw-r--r--sys/mips/idt/obio.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/mips/idt/idtpci.c b/sys/mips/idt/idtpci.c
index d962e68..46c276a 100644
--- a/sys/mips/idt/idtpci.c
+++ b/sys/mips/idt/idtpci.c
@@ -465,7 +465,7 @@ idtpci_write_ivar(device_t dev, device_t child, int which, uintptr_t result)
static struct resource *
idtpci_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 idtpci_softc *sc = device_get_softc(bus);
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