INTRNG (Was: svn commit: r301453....)
Nathan Whitehorn
nwhitehorn at freebsd.org
Sat Jul 30 19:26:12 UTC 2016
On 07/30/16 11:06, Warner Losh wrote:
> On Sat, Jul 30, 2016 at 10:59 AM, Nathan Whitehorn
> <nwhitehorn at freebsd.org> wrote:
>> It's not just a few lines change. Newbus provides no mechanism for a bus to
>> attach at two different bus passes.
> Sure it does. That's used in the Atmel code (which might not be in the tree) for
> some things. Newbus lets you know for each new pass that something is happening.
>
> Perhaps you could be clearer as to what exactly it doesn't provide.
>
> Warner
>
interesting. I hadn't realized that. We'd need to find all the bus
drivers in the tree and make them attach this way, I guess.
There are still some ordering dilemmas here coming from the static
nature of the ordering. For example, if you have two PICs supported by
the same driver, one of which is attached to the other, how do you order
their attachments? I have a whole list of these at
https://wiki.freebsd.org/Complicated_Interrupts. The list is basically
the full set of weird cases we support with the current code. It would
be great to get some responses to how you would implement those specific
things with this new API.
As usual, there are two things I would like to see:
1. A case of something that wasn't supported by the old API, but is
supported by the new API.
2. How I would support all of the complicated cases the existing code
supports, listed on the wiki, with the new API.
-Nathan
More information about the freebsd-arch
mailing list