On 11/28/05, M. Warner Losh <[EMAIL PROTECTED]> wrote:
> In message: <[EMAIL PROTECTED]>
>            kylin <[EMAIL PROTECTED]> writes:
> : i can use pciconf in freebsd to list the pci device ,but how to list
> : the device tree in freeebsd?
>
> devinfo -v
devinfo is different with pciconf
devinfo depends on the sysctl mechanism while pciconf ioctl the
/dev/pci who will directly read the pci configuration space

> devclass is the information about all instances of the device.
> device_t is an instance of the device.  The only difference between a
> bus and a device is that a bus has children.
>
> Warner
>
but pcib and cbb still have pci or cardbus as there children ,and pcib
and cbb is bridge rather than bus :(
i am puzzle with the definition:(

--
we who r about to die,salute u!
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to