Alan Coopersmith wrote: > Garrett D'Amore wrote: >> Wouldn't it be easy to just have a utility that walks the device >> tree? Surely all the important bits are there, and it would be safe. > > Are there device tree entries for devices without kernel-level drivers, > like video cards on x86? (I don't actually know much about how this > level works, just that no one likes it, and the people who do know talk > about how we need something better, but no one has ever been able to > tell us what we should make Xorg do instead on Solaris. The Linux Xorg > community is working to replace the direct probing code in Xorg with a > new libpciaccess being written now - it would be great to have Solaris > support in there, but no one who knows Solaris PCI has stepped up to > help.) > >
As far as I know these device tree entries do in fact exist. Certainly prtconf -vp will display for any devices that do not have drivers (tested just now on my system, that has no driver for the multiport serial card in it. I've been working on a driver for it in my spare time.) So you can get at vendor and device (and subsystem) ids. Do you need more than just normal PCI identification registers? (I.e. do you actively probe the device in some fashion?) I ran this test on amd64, btw. -- Garrett D'Amore, Principal Software Engineer Tadpole Computer / Computing Technologies Division, General Dynamics C4 Systems http://www.tadpolecomputer.com/ Phone: 951 325-2134 Fax: 951 325-2191