diff options
Diffstat (limited to 'sys/dev/siba')
-rw-r--r-- | sys/dev/siba/siba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/siba/siba.c b/sys/dev/siba/siba.c index 8c3898c..3489ddc 100644 --- a/sys/dev/siba/siba.c +++ b/sys/dev/siba/siba.c @@ -383,7 +383,7 @@ siba_alloc_resource(device_t bus, device_t child, int type, int *rid, printf("%s: entry\n", __func__); #endif - isdefault = (start == 0UL && end == ~0UL && count == 1); + isdefault = (RMAN_IS_DEFAULT_RANGE(start, end) && count == 1); needactivate = flags & RF_ACTIVE; rl = BUS_GET_RESOURCE_LIST(bus, child); rle = NULL; |