summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/central/central.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/central/central.c')
-rw-r--r--sys/sparc64/central/central.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sparc64/central/central.c b/sys/sparc64/central/central.c
index 86cb3f4..62fa79d 100644
--- a/sys/sparc64/central/central.c
+++ b/sys/sparc64/central/central.c
@@ -183,8 +183,8 @@ central_attach(device_t dev)
static int
central_adjust_resource(device_t bus __unused, device_t child __unused,
- int type __unused, struct resource *r __unused, u_long start __unused,
- u_long end __unused)
+ int type __unused, struct resource *r __unused, rman_res_t start __unused,
+ rman_res_t end __unused)
{
return (ENXIO);
@@ -215,7 +215,7 @@ central_probe_nomatch(device_t dev, device_t child)
static struct resource *
central_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 resource_list *rl;
struct resource_list_entry *rle;
OpenPOWER on IntegriCloud