Re: TODO list for ofppc

Tim Rightnour <[email protected]>
Newsgroups gmane.os.netbsd.ports.ofppc
Message-ID <[email protected]>
On 01-Dec-2007 Izumi Tsutsui wrote:
> BTW, a pre-ppcoea-renovation kernel could probe pci devices.
> Can we pull some stuff from files in arch/ofppc/firepower (in Attic)?

I'd prefer we didn't pull anything that does things the old way.  I'm really
trying hard to avoid the mess we used to have.  It depends on what exactly you
want to ressurect. (some of it was better than the rest)

Based on the dump you gave me, switch ofwpci to use the ofmethod PCI config
method, and see how that does.  Just rip out the reg stuff temporarily to test
it.  If you need help doing it (you have to open the device and store an
ihandle for it in the pci chipset tag), I'd be glad to work up a patch for you.

I suspect the right thing to do will be to try to detect those methods, and
then fallback to the indirect config if we must.

---
Tim Rightnour <[email protected]>
NetBSD: Free multi-architecture OS http://www.netbsd.org/
Genecys: Open Source 3D MMORPG: http://www.genecys.org/
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.