to list all the devices in freebsd &definition analyse

Dag-Erling Smørgrav des at
Mon Nov 28 15:14:49 GMT 2005

kylin <fierykylin at> writes:
> M. Warner Losh <imp at> writes:
> > 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

there is more in life than pci.

> > 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.
> 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:(

as far as the kernel is concerned, any devices that other devices
attach to is a bus.

> we who r about to die,salute u!

please learn to spell.

Dag-Erling Smørgrav - des at

More information about the freebsd-hackers mailing list