aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mvs
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/mvs
parent1cdc5f0b8794e82f0cbf9dca07967ca2559ba331 (diff)
Notes
Diffstat (limited to 'sys/dev/mvs')
-rw-r--r--sys/dev/mvs/mvs_pci.c3
-rw-r--r--sys/dev/mvs/mvs_soc.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/mvs/mvs_pci.c b/sys/dev/mvs/mvs_pci.c
index 11c1dd3cfa7b..316ac0008dd1 100644
--- a/sys/dev/mvs/mvs_pci.c
+++ b/sys/dev/mvs/mvs_pci.c
@@ -389,7 +389,8 @@ mvs_intr(void *data)
static struct resource *
mvs_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 mvs_controller *ctlr = device_get_softc(dev);
int unit = ((struct mvs_channel *)device_get_softc(child))->unit;
diff --git a/sys/dev/mvs/mvs_soc.c b/sys/dev/mvs/mvs_soc.c
index 8ed7df4fcdd7..d4ecd8fdb207 100644
--- a/sys/dev/mvs/mvs_soc.c
+++ b/sys/dev/mvs/mvs_soc.c
@@ -336,7 +336,7 @@ mvs_intr(void *data)
static struct resource *
mvs_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 mvs_controller *ctlr = device_get_softc(dev);
int unit = ((struct mvs_channel *)device_get_softc(child))->unit;