Re: dmesg and ofctl -p output as instructed
Martin Husemann <[email protected]>
| Newsgroups | gmane.os.netbsd.ports.sparc64 |
|---|---|
| Message-ID | <[email protected]> |
On Sun, Dec 20, 2015 at 11:55:44PM +1100, matthew green wrote: > perhaps we can re-work the whole pci_intr_map() part of the pc > such that we can call it before OF_mapintr(), or perhaps add a > new vector to the pc to check for thiss, before calling > OF_mapintr(). I considered that, but a commented check based on the node passed to OF_mapintr and doing the strcmp Julian suggested is probably good enough and a lot simpler. Either is fine for me (as is cleaning up the "cookie" mess into an abstract interface with proper functions that could be used to retrieve the pbm/softc and where we could add a predicate for the test at hand; but that would be a lot of churn for purely aesthetical reasons - as long as we don't see machines with different pci roots). Martin