aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/puc
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2016-03-02 03:26:56 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2016-03-02 03:26:56 +0000
commit82ed3cb0e4bf60f58b13368aa3a4a4f7e7ff9a57 (patch)
tree5bd2a812e226bbbed40dc3a42e25905b3df82741 /sys/dev/puc
parent33c6a6670fe7433d659d4d6fd72306bf9ea7ddde (diff)
Notes
Diffstat (limited to 'sys/dev/puc')
-rw-r--r--sys/dev/puc/puc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/puc/puc.c b/sys/dev/puc/puc.c
index 75736d1caef0..d3b14fb8f9ab 100644
--- a/sys/dev/puc/puc.c
+++ b/sys/dev/puc/puc.c
@@ -495,7 +495,7 @@ puc_bus_alloc_resource(device_t dev, device_t child, int type, int *rid,
return (NULL);
/* We only support default allocations. */
- if (start != 0UL || end != ~0UL)
+ if (!RMAN_IS_DEFAULT_RANGE(start, end))
return (NULL);
if (type == port->p_bar->b_type)