Re: UltraSPARC III/IIe cpufreq drivers, please test

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.ports.sparc64
Message-ID <[email protected]>
On Mon, Sep 29, 2014 at 02:19:00PM +1000, matthew green wrote:
> this is some what tricky.  ideally, it should be derived from
> the cpu device, and that should find and talk to the schizo
> device that controls it.

Since mainbus device detection is mostly hardcoded, can't we rely on all
cpus to attach their autoconfig device node before any pci root hub is
attached?

That should allow the cpu_attach() code to set a device property like
"pciA-address" and "pciB-address" and then schizo/psycho/whatever
attach code to simply iterate over all CPUs and find the one it would
controll (or none).

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.