summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/powerpc/mpc85xx/lbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/mpc85xx/lbc.c b/sys/powerpc/mpc85xx/lbc.c
index 7dfaa06..fe582dd 100644
--- a/sys/powerpc/mpc85xx/lbc.c
+++ b/sys/powerpc/mpc85xx/lbc.c
@@ -674,7 +674,7 @@ lbc_alloc_resource(device_t bus, device_t child, int type, int *rid,
int needactivate;
/* We only support default allocations. */
- if (start != 0ul || end != ~0ul)
+ if (!RMAN_IS_DEFAULT_RANGE(start, end))
return (NULL);
sc = device_get_softc(bus);
OpenPOWER on IntegriCloud