aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mca
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-02-20 01:32:58 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-02-20 01:32:58 +0000
commit7915adb56014e31e8ed8a4418060625c2e223fc0 (patch)
tree1d99680c416ab999716f7e3fb78956be8804e81f /sys/dev/mca
parent2bc4747cc49351d47d2bdacd5c5d82bf4b44474b (diff)
Notes
Diffstat (limited to 'sys/dev/mca')
-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 f97fd24ac2dc..55ac9ed77fd9 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) {