]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Assert that a reserved resource returned via resource_list_alloc() is not
authorjhb <jhb@FreeBSD.org>
Wed, 30 Dec 2009 19:44:31 +0000 (19:44 +0000)
committerjhb <jhb@FreeBSD.org>
Wed, 30 Dec 2009 19:44:31 +0000 (19:44 +0000)
commit8d2a9e1d3c36dbd1d69e79aeb5fa5ba9f0356de0
tree9a9e36c4d1be756ef9395a508b60cb3099649490
parent2bebf345f5dfc83efe15fc75fd989883f2f88db5
- Assert that a reserved resource returned via resource_list_alloc() is not
  active.
- Fix bus_generic_rl_(alloc|release)_resource() to not attempt to fetch a
  resource list for grandchild devices, but just pass those requests up to
  the parent directly.  This worked by accident previously, but it is
  better to not let bus drivers try to operate on devices they do not
  manage.
sys/kern/subr_bus.c