summaryrefslogtreecommitdiffstats
path: root/sys/sys/param.h
diff options
context:
space:
mode:
authorjhibbits <jhibbits@FreeBSD.org>2016-02-27 03:35:28 +0000
committerjhibbits <jhibbits@FreeBSD.org>2016-02-27 03:35:28 +0000
commit8db64542512568b735293ebaad1c652c899a02f1 (patch)
tree973001bd07c056ca7c10f23894d1ed692af0e054 /sys/sys/param.h
parenta299546def9ced6d3125373164a42978f6f56f5b (diff)
downloadFreeBSD-src-8db64542512568b735293ebaad1c652c899a02f1.zip
FreeBSD-src-8db64542512568b735293ebaad1c652c899a02f1.tar.gz
Add the bus_alloc_resource_anywhere() convenience function.
Summary: Many instances of bus_alloc_resource() simply use 0 and ~0 for start and end to denote 'anywhere' with a given count. To clean this up, introduce a bus_alloc_resource_anywhere() convenience function. Bump __FreeBSD_version for the new API. Reviewed By: jhb Differential Revision: https://reviews.freebsd.org/D5370
Diffstat (limited to 'sys/sys/param.h')
-rw-r--r--sys/sys/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index f9b4b28..65c9cc4 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -58,7 +58,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1100099 /* Master, propagated to newvers */
+#define __FreeBSD_version 1100100 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,
OpenPOWER on IntegriCloud