summaryrefslogtreecommitdiffstats
path: root/sys/dev/eisa/eisaconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/eisa/eisaconf.c')
-rw-r--r--sys/dev/eisa/eisaconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/eisa/eisaconf.c b/sys/dev/eisa/eisaconf.c
index ada1846..28a9bc6 100644
--- a/sys/dev/eisa/eisaconf.c
+++ b/sys/dev/eisa/eisaconf.c
@@ -359,7 +359,7 @@ eisa_alloc_resource(device_t dev, device_t child, int type, int *rid,
struct resource *rv, **rvp = 0;
isdefault = (device_get_parent(child) == dev &&
- start == 0UL && end == ~0UL && count == 1);
+ RMAN_IS_DEFAULT_RANGE(start, end) && count == 1);
switch (type) {
case SYS_RES_IRQ:
OpenPOWER on IntegriCloud