summaryrefslogtreecommitdiffstats
path: root/sys/sparc64/pci/ofw_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/sparc64/pci/ofw_pci.c')
-rw-r--r--sys/sparc64/pci/ofw_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sparc64/pci/ofw_pci.c b/sys/sparc64/pci/ofw_pci.c
index a18052f..8babd49 100644
--- a/sys/sparc64/pci/ofw_pci.c
+++ b/sys/sparc64/pci/ofw_pci.c
@@ -287,7 +287,7 @@ ofw_pci_read_ivar(device_t dev, device_t child __unused, int which,
struct resource *
ofw_pci_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 ofw_pci_softc *sc;
struct resource *rv;
@@ -362,7 +362,7 @@ ofw_pci_activate_resource(device_t bus, device_t child, int type, int rid,
int
ofw_pci_adjust_resource(device_t bus, device_t child, int type,
- struct resource *r, u_long start, u_long end)
+ struct resource *r, rman_res_t start, rman_res_t end)
{
struct ofw_pci_softc *sc;
struct rman *rm;
OpenPOWER on IntegriCloud