diff options
Diffstat (limited to 'sys/kern/subr_rman.c')
-rw-r--r-- | sys/kern/subr_rman.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/kern/subr_rman.c b/sys/kern/subr_rman.c index 34505d2..75d3e42 100644 --- a/sys/kern/subr_rman.c +++ b/sys/kern/subr_rman.c @@ -737,6 +737,13 @@ rman_set_device(struct resource *r, struct device *dev) r->__r_i->r_dev = dev; } +int +rman_is_region_manager(struct resource *r, struct rman *rm) +{ + + return (r->__r_i->r_rm == rm); +} + /* * Sysctl interface for scanning the resource lists. * |