aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/scc/scc_core.c
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-01-27 02:23:54 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-01-27 02:23:54 +0000
commit2dd1bdf1834c53d048d3d9a7079b45afea5cecd7 (patch)
tree5ac500b634909ff3fe2556201aef7e16d85316d2 /sys/dev/scc/scc_core.c
parent1cdc5f0b8794e82f0cbf9dca07967ca2559ba331 (diff)
Notes
Diffstat (limited to 'sys/dev/scc/scc_core.c')
-rw-r--r--sys/dev/scc/scc_core.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/scc/scc_core.c b/sys/dev/scc/scc_core.c
index 7c96426e768dd..6b0558a95fe9d 100644
--- a/sys/dev/scc/scc_core.c
+++ b/sys/dev/scc/scc_core.c
@@ -103,7 +103,7 @@ scc_bfe_attach(device_t dev, u_int ipc)
struct scc_softc *sc, *sc0;
const char *sep;
bus_space_handle_t bh;
- u_long base, size, start, sz;
+ rman_res_t base, size, start, sz;
int c, error, mode, sysdev;
/*
@@ -407,7 +407,7 @@ scc_bfe_probe(device_t dev, u_int regshft, u_int rclk, u_int rid)
struct resource *
scc_bus_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)
{
struct resource_list_entry *rle;
struct scc_chan *ch;
@@ -431,7 +431,7 @@ scc_bus_alloc_resource(device_t dev, device_t child, int type, int *rid,
int
scc_bus_get_resource(device_t dev, device_t child, int type, int rid,
- u_long *startp, u_long *countp)
+ rman_res_t *startp, rman_res_t *countp)
{
struct resource_list_entry *rle;
struct scc_chan *ch;