diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-09-25 20:10:10 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2005-09-25 20:10:10 +0000 |
| commit | 2b35175c8af82aca0dc24c60516917b3b0458b79 (patch) | |
| tree | b660ecf18045ca442acf3b3b75f39d7ca762f330 /sys/kern/subr_rman.c | |
| parent | 57489b865777723ca0148606bb74bcfdede5555a (diff) | |
Notes
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 34505d284e99..75d3e4206162 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. * |
