Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Nov 2005 16:14:38 +0100
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        kylin <fierykylin@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: to list all the devices in freebsd &definition analyse
Message-ID:  <868xv8by8x.fsf@xps.des.no>
In-Reply-To: <87ab37ab0511272036t60b22769sff7a201d4d3cf8f9@mail.gmail.com> (fierykylin@gmail.com's message of "Mon, 28 Nov 2005 12:36:50 %2B0800")
References:  <87ab37ab0511261855lfc5d062h7d394f25bcd00ec0@mail.gmail.com> <20051127.164001.61158282.imp@bsdimp.com> <87ab37ab0511272036t60b22769sff7a201d4d3cf8f9@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?868xv8by8x.fsf>