summaryrefslogtreecommitdiffstats
path: root/sys/x86/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/x86/isa')
-rw-r--r--sys/x86/isa/isa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/x86/isa/isa.c b/sys/x86/isa/isa.c
index 3de119f..e0f8ef1 100644
--- a/sys/x86/isa/isa.c
+++ b/sys/x86/isa/isa.c
@@ -94,7 +94,7 @@ isa_alloc_resource(device_t bus, device_t child, int type, int *rid,
* Consider adding a resource definition.
*/
int passthrough = (device_get_parent(child) != bus);
- int isdefault = (start == 0UL && end == ~0UL);
+ int isdefault = RMAN_IS_DEFAULT_RANGE(start, end);
struct isa_device* idev = DEVTOISA(child);
struct resource_list *rl = &idev->id_resources;
struct resource_list_entry *rle;
OpenPOWER on IntegriCloud