Date: Tue, 29 Nov 2005 00:04:43 +0800 From: kylin <fierykylin@gmail.com> To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@des.no> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: to list all the devices in freebsd &definition analyse Message-ID: <87ab37ab0511280804q30c84a51te515facc30e81ff4@mail.gmail.com> In-Reply-To: <868xv8by8x.fsf@xps.des.no> References: <87ab37ab0511261855lfc5d062h7d394f25bcd00ec0@mail.gmail.com> <20051127.164001.61158282.imp@bsdimp.com> <87ab37ab0511272036t60b22769sff7a201d4d3cf8f9@mail.gmail.com> <868xv8by8x.fsf@xps.des.no>
next in thread | previous in thread | raw e-mail | index | archive | help
my god ,mercy me On 11/28/05, Dag-Erling Sm=F8rgrav <des@des.no> wrote: > kylin <fierykylin@gmail.com> writes: > > M. Warner Losh <imp@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!
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87ab37ab0511280804q30c84a51te515facc30e81ff4>