Implement rman_get_device
# I though this was alredy implemented Pointy hat on my head shown by: peter
This commit is contained in:
parent
c48b7ccc43
commit
c91aa4b2a3
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user