Add bus_alloc_resources() and bus_release_resources() functions to allow to
authorHasso Tepper <hasso@dragonflybsd.org>
Wed, 12 Sep 2007 07:59:31 +0000 (07:59 +0000)
committerHasso Tepper <hasso@dragonflybsd.org>
Wed, 12 Sep 2007 07:59:31 +0000 (07:59 +0000)
commit4316754674ba457de645747ccdae5b7c323b70ac
treef5b0e952da229c20e308834ae1959d729ef019fc
parenta7c98c3469705800fa15fd4eed55f2602b1d8ce5
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