Add bus_alloc_resources() and bus_release_resources() functions to allow to
commitbac50a65b551054662eda34a94ef535caf53b420
authorhasso <hasso>
Wed, 12 Sep 2007 07:59:31 +0000 (12 07:59 +0000)
committerhasso <hasso>
Wed, 12 Sep 2007 07:59:31 +0000 (12 07:59 +0000)
treeb9b70ec5da0d0e6b3a569ad96d04045d82346398
parent1c5430a35ac89e1665e3614f39e6d195068fb972
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