Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Nov 2005 19:09:22 -0800
From:      John-Mark Gurney <gurney_j@resnet.uoregon.edu>
To:        kylin <fierykylin@gmail.com>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, freebsd-questions@freebsd.org
Subject:   Re: to list all the devices in freebsd &definition analyse
Message-ID:  <20051127030922.GH885@funkthat.com>
In-Reply-To: <87ab37ab0511261855lfc5d062h7d394f25bcd00ec0@mail.gmail.com>
References:  <87ab37ab0511261855lfc5d062h7d394f25bcd00ec0@mail.gmail.com>

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

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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