aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/cx
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2014-10-10 19:12:04 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2014-10-10 19:12:04 +0000
commit97dc3d98cbeb598bd49dd3603cde75e0dc8d128b (patch)
treeb14344090c008c128d42f61f654821eda7b13a85 /sys/dev/cx
parentbd735ec199f3435b560df0ad8d53ec2bf61cab3c (diff)
Notes
Diffstat (limited to 'sys/dev/cx')
-rw-r--r--sys/dev/cx/if_cx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index 360e1f689fa9..23274031cb53 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -410,8 +410,7 @@ static int cx_is_free_res (device_t dev, int rid, int type, u_long start,
{
struct resource *res;
- if (!(res = bus_alloc_resource (dev, type, &rid, start, end, count,
- RF_ALLOCATED)))
+ if (!(res = bus_alloc_resource (dev, type, &rid, start, end, count, 0)))
return 0;
bus_release_resource (dev, type, rid, res);