Add bus_alloc_resources() and bus_release_resources() functions to allow to
commit38daba968ee09cc5f7d3b1109977833c11be7964
authorHasso Tepper <hasso@dragonflybsd.org>
Wed, 12 Sep 2007 07:59:31 +0000 (12 07:59 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Wed, 12 Sep 2007 07:59:31 +0000 (12 07:59 +0000)
treedb5ca88ad37d7b31e8bf40efd660304f79da474a
parente44e444be36b60feb6b9d3801bb04d271fbe16a6
Add bus_alloc_resources() and bus_release_resources() functions to allow to
simplify the code and to make it easier to port drivers (initially the
agp(4)) from FreeBSD.

Obtained-from: FreeBSD
sys/kern/subr_bus.c
sys/sys/bus.h