OpenFirmware devices and hotplug events

Greg KH greg at kroah.com
Thu Mar 18 04:34:28 EST 2004


On Wed, Mar 17, 2004 at 09:23:33AM -0800, Dave Hansen wrote:
> On Wed, 2004-03-17 at 09:10, Greg KH wrote:
> > On Wed, Mar 17, 2004 at 08:16:28AM -0800, Dave Hansen wrote:
> > > The thing to remember here is that we're not suggesting that the entire
> > > /proc/device-tree be copied, verbatim, to sysfs.
> >
> > Why not?  That's the proper place for it, if you really need it.
>
> Could someone elaborate a little more about "ibm,drc-indexes"?  I was
> imagining that it is just metadata, and likely to be best represented as
> properties for other devices, not a device itself.  But, I obviously
> don't know what I'm talking about. :)
>
> But, I guess the OF tree could be considered a system device, all by
> itself.  Then, it's free to use whatever layout it desires, right?

Yes, that's exactly what /sys/firmware is for.  A userspace
representation of the machine's firmware.  Look at a i386 box running
ACPI for an example of just that.

thanks,

greg k-h

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list