On Thu, Aug 03, 2006 at 01:04:53PM -0700, Garrett D'Amore wrote:
> 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.
>

hu?  a libdevinfo snapshot does include information for devices that
don't have drivers associated with them.  see the -D option to prtconf.

> 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
>
> _______________________________________________
> laptop-discuss mailing list
> laptop-discuss at opensolaris.org

Reply via email to