to list all the devices in freebsd &definition analyse

kylin fierykylin at gmail.com
Mon Nov 28 16:05:07 GMT 2005


my god ,mercy me

On 11/28/05, Dag-Erling Smørgrav <des at des.no> wrote:
> kylin <fierykylin at gmail.com> writes:
> > M. Warner Losh <imp at bsdimp.com> 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.
i agree:)
> > > 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.
no .device_get_parent  of a pci bus we get pcib
> > we who r about to die,salute u!
>
> please learn to spell.
come from the  "gladiator":In ancient rome, the glorious gladiator
show their respect to the audience whit the words:we who are about to
die salute you
but thank u for your advice all the same :)


--
we who r about to die,salute u!


More information about the freebsd-hackers mailing list