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/ppc | |
| parent | 1cdc5f0b8794e82f0cbf9dca07967ca2559ba331 (diff) | |
Notes
Diffstat (limited to 'sys/dev/ppc')
| -rw-r--r-- | sys/dev/ppc/ppc.c | 4 | ||||
| -rw-r--r-- | sys/dev/ppc/ppcvar.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ppc/ppc.c b/sys/dev/ppc/ppc.c index e1edc4d87ae2..17a4a0420f4b 100644 --- a/sys/dev/ppc/ppc.c +++ b/sys/dev/ppc/ppc.c @@ -1674,7 +1674,7 @@ ppc_probe(device_t dev, int rid) #endif struct ppc_data *ppc; int error; - u_long port; + rman_res_t port; /* * Allocate the ppc_data structure. @@ -2015,7 +2015,7 @@ ppc_write_ivar(device_t bus, device_t dev, int index, uintptr_t val) */ struct resource * ppc_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 ppc_data *ppc = DEVTOSOFTC(bus); diff --git a/sys/dev/ppc/ppcvar.h b/sys/dev/ppc/ppcvar.h index faff75ac69e6..792111e8e23d 100644 --- a/sys/dev/ppc/ppcvar.h +++ b/sys/dev/ppc/ppcvar.h @@ -41,7 +41,7 @@ u_char ppc_io(device_t, int, u_char *, int, u_char); int ppc_exec_microseq(device_t, struct ppb_microseq **); struct resource *ppc_alloc_resource(device_t bus, device_t child, int type, - int *rid, u_long start, u_long end, u_long count, u_int flags); + int *rid, rman_res_t start, rman_res_t end, rman_res_t count, u_int flags); int ppc_release_resource(device_t bus, device_t child, int type, int rid, struct resource *r); int ppc_reset_epp(device_t); |
