summaryrefslogtreecommitdiffstats
path: root/sys/dev/mca/mca_bus.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mca/mca_bus.c')
-rw-r--r--sys/dev/mca/mca_bus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mca/mca_bus.c b/sys/dev/mca/mca_bus.c
index f97fd24..55ac9ed 100644
--- a/sys/dev/mca/mca_bus.c
+++ b/sys/dev/mca/mca_bus.c
@@ -463,7 +463,7 @@ mca_alloc_resource (device_t dev, device_t child, int type, int *rid,
int isdefault;
int passthrough;
- isdefault = (start == 0UL && end == ~0UL);
+ isdefault = RMAN_IS_DEFAULT_RANGE(start, end);
passthrough = (device_get_parent(child) != dev);
if (!passthrough && !isdefault) {
OpenPOWER on IntegriCloud