From cd50f0196723942045f247e8f82245d3d266f9c7 Mon Sep 17 00:00:00 2001 From: jhibbits Date: Sat, 27 Feb 2016 16:27:48 +0000 Subject: Move another range check to use RMAN_IS_DEFAULT_RANGE(). --- sys/powerpc/mpc85xx/lbc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.1