]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
- Don't let rman_reserve_resource() activate the resource in
authorJohn Baldwin <jhb@FreeBSD.org>
Fri, 12 Sep 2014 20:34:19 +0000 (20:34 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Fri, 12 Sep 2014 20:34:19 +0000 (20:34 +0000)
commitace8dcfc8acb140fab40a1f0c81c50945510e8f6
tree0671106d5c5fe63e1f8a9fb8ab0a5f73c652d205
parentb60a2f70da0fd377a70e668fc97eca4922bde8e0
- Don't let rman_reserve_resource() activate the resource in
  nexus_alloc_resource() and don't set a bushandle.
  nexus_activate_resource() will set a proper bushandle.
- Implement a proper nexus_release_resource().
- Fix ixppcib_activate_resource() to call rman_activate_resource()
  before creating a mapping for the resource.

Tested by: jmg
sys/arm/arm/nexus.c
sys/arm/xscale/ixp425/ixp425_pci.c