[OFW][patch] partition - amended

Sean Hefty sean.hefty at intel.com
Tue Apr 15 15:13:45 PDT 2008


>Slava/Fab as for the IOCTL: I believe that this approach will lead to a
>new component that will read the data from the registry and send the
>ioctl. If this is the case, wouldn't it be better to have the bus driver
>read the data directly from the registry?

My thoughts:  The suggestion is for the bus driver to read from the registry.
It can do this when loading.  The IOCTL call is a way to indicate to the bus
driver that it needs to re-read the registry for possible changes.

The benefit is that you remove the policy for searching for IOU's, IOC's, etc.
out of the kernel and into userspace.  The bus driver can create PDOs for known
devices, but when a new device is added, a configuration utility for that device
is run as part of an installation process on the system that should control it.
The utility can update the registry, then signal the bus driver to re-read it.

- Sean




More information about the ofw mailing list