Re: to list all the devices in freebsd definition analyse

2005-11-28 Thread Dag-Erling Smørgrav
kylin [EMAIL PROTECTED] writes: M. Warner Losh [EMAIL PROTECTED] 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

Re: to list all the devices in freebsd definition analyse

2005-11-28 Thread kylin
my god ,mercy me On 11/28/05, Dag-Erling Smørgrav [EMAIL PROTECTED] wrote: kylin [EMAIL PROTECTED] writes: M. Warner Losh [EMAIL PROTECTED] writes: devinfo -v devinfo is different with pciconf devinfo depends on the sysctl mechanism while pciconf ioctl the /dev/pci who will directly

Re: to list all the devices in freebsd definition analyse

2005-11-28 Thread John-Mark Gurney
kylin wrote this message on Tue, Nov 29, 2005 at 00:04 +0800: 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

Re: to list all the devices in freebsd definition analyse

2005-11-27 Thread M. Warner Losh
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 : i got some anornymous definition on devclass driver and device that : differ from the current man page : i

Re: to list all the devices in freebsd definition analyse

2005-11-27 Thread kylin
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

to list all the devices in freebsd definition analyse

2005-11-26 Thread kylin
I i can use pciconf in freebsd to list the pci device ,but how to list the device tree in freeebsd? II 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

Re: to list all the devices in freebsd definition analyse

2005-11-26 Thread John-Mark Gurney
kylin wrote this message on Sun, Nov 27, 2005 at 10:55 +0800: I i can use pciconf in freebsd to list the pci device ,but how to list the device tree in freeebsd? devinfo II i got some anornymous definition on devclass driver and device that differ from the current man page i think