OpenFirmware devices and hotplug events

Greg KH greg at kroah.com
Thu Mar 18 12:03:58 EST 2004


On Thu, Mar 18, 2004 at 11:43:34AM +1100, Benjamin Herrenschmidt wrote:
>
> > 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.
>
> I'd prefer on-the-fly creation of dentries & inodes rather than
> having it all in sysfs statically. BTW. Doesn't sparc has a
> filesystem for exposing the firmware device-tree ? maybe that's
> worth looking at.

There are some patches out there that do just that for sysfs, but they
still need work before making it into the mainline kernel.

thanks,

greg k-h

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





More information about the Linuxppc64-dev mailing list