diff options
| author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-01-27 02:23:54 +0000 |
|---|---|---|
| committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-01-27 02:23:54 +0000 |
| commit | 2dd1bdf1834c53d048d3d9a7079b45afea5cecd7 (patch) | |
| tree | 5ac500b634909ff3fe2556201aef7e16d85316d2 /sys/dev/scc | |
| parent | 1cdc5f0b8794e82f0cbf9dca07967ca2559ba331 (diff) | |
Notes
Diffstat (limited to 'sys/dev/scc')
| -rw-r--r-- | sys/dev/scc/scc_bfe.h | 4 | ||||
| -rw-r--r-- | sys/dev/scc/scc_core.c | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/scc/scc_bfe.h b/sys/dev/scc/scc_bfe.h index 33acdc52d152..be52707bd110 100644 --- a/sys/dev/scc/scc_bfe.h +++ b/sys/dev/scc/scc_bfe.h @@ -143,8 +143,8 @@ int scc_bfe_detach(device_t dev); int scc_bfe_probe(device_t dev, u_int regshft, u_int rclk, u_int rid); struct resource *scc_bus_alloc_resource(device_t, device_t, int, int *, - u_long, u_long, u_long, u_int); -int scc_bus_get_resource(device_t, device_t, int, int, u_long *, u_long *); + rman_res_t, rman_res_t, rman_res_t, u_int); +int scc_bus_get_resource(device_t, device_t, int, int, rman_res_t *, rman_res_t *); int scc_bus_read_ivar(device_t, device_t, int, uintptr_t *); int scc_bus_release_resource(device_t, device_t, int, int, struct resource *); int scc_bus_setup_intr(device_t, device_t, struct resource *, int, diff --git a/sys/dev/scc/scc_core.c b/sys/dev/scc/scc_core.c index 7c96426e768d..6b0558a95fe9 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; |
