Implement rman_get_device

# I though this was alredy implemented

Pointy hat on my head shown by: peter
This commit is contained in:
imp 2003-02-12 07:00:59 +00:00
parent c48b7ccc43
commit c91aa4b2a3
2 changed files with 7 additions and 0 deletions

View File

@ -685,3 +685,9 @@ rman_get_rid(struct resource *r)
{
return (r->r_rid);
}
struct device *
rman_get_device(struct resource *r)
{
return (r->r_dev);
}

View File

@ -134,6 +134,7 @@ uint32_t rman_make_alignment_flags(uint32_t size);
u_long rman_get_start(struct resource *_r);
u_long rman_get_end(struct resource *_r);
struct device *rman_get_device(struct resource *);
u_long rman_get_size(struct resource *_r);
u_int rman_get_flags(struct resource *_r);
void rman_set_virtual(struct resource *_r, void *_v);