Garrett D'Amore wrote:
> Casper.Dik at Sun.COM wrote:
>   
>> Did someone mention scapci (/usr/X11/bin/scanpci; don't ask) and
>> pcitweak yet?
>>
>> Casper
>>   
>>     
>
> I've almost finished writing a fairly complete pci enumerator that only
> uses libdevinfo.  stay tuned.
>
>     -- Garrett
>
>   

Fun.  The enumeration using libdevinfo excludes devices that don't have
drivers attached.  I'm trying an alternate approach using the openprom
interface.

I think we need an RFE to have libdevinfo iterate over _all_ devices
from the prom, even ones that don't have drivers attached.  (Maybe a
flag to di_init(), and probably a bit of code to merge the kernel's
devinfo tree with the prom's.)

-- 
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


Reply via email to