to list all the devices in freebsd &definition analyse
gurney_j at resnet.uoregon.edu
Sun Nov 27 03:09:24 GMT 2005
kylin wrote this message on Sun, Nov 27, 2005 at 10:55 +0800:
> i can use pciconf in freebsd to list the pci device ,but how to list
> the device tree in freeebsd?
> i got some anornymous definition on devclass driver and device that
> differ from the current man page
> i think they seems reasonable but how can devclass Represents a bus
> or leaf device driver while driver still Represents a bus or
> leaf-level end-device driver ?
> and device is just a instance of bus or (leaf) end-device.??
> is it oop? can the disigner of the arch show us a word?:)
read device(9).. and devclass(9)..
I'm not quite sure what you are asking here, but take a look at a bunch
of the other drivers... My zoran driver
(http://people.freebsd.org/~jmg/zoran.html) is both a driver, and a bus
John-Mark Gurney Voice: +1 415 225 5579
"All that I will do, has been done, All that I have, has not."
More information about the freebsd-questions