bus_.*_resource() and rid
Pokala, Ravi
rpokala at panasas.com
Mon Sep 28 19:18:50 UTC 2015
-----Original Message-----
From: Ravi Pokala <rpokala at panasas.com>
Date: 2015-09-28, Monday at 11:52
To: John Baldwin <jhb at freebsd.org>
Cc: "freebsd-hackers at freebsd.org" <freebsd-hackers at freebsd.org>
Subject: Re: bus_.*_resource() and rid
>Hmm... perhaps:
>
> struct resource_list *rl =
>bus_get_resource_list(device_get_parent(dev), dev);
> rid = resource_list_add_next(rl, SYS_RES_IOPORT, start, end, count);
>
>I'll try that.
Err, never mind, resource_list_add_next() doesn't do what I was thinking
it did. So, forget I said that. :-)
-Ravi
>Thanks!
>
>-Ravi
More information about the freebsd-hackers
mailing list