[OFW][patch] partition - amended

Slava Strebkov slavas at voltaire.com
Wed Apr 16 00:30:07 PDT 2008


Hi Sean,
The application can order to bus driver what PDO to create (dynamically)
by IOCTL.
PnP manager will update the registry hardware key for newly created
device and load the function driver (IPoIB).
What registry update did you mean?

Slava

-----Original Message-----
From: Sean Hefty [mailto:sean.hefty at intel.com] 
Sent: Wednesday, April 16, 2008 1:14 AM
To: 'Tzachi Dar'; James Yang; Slava Strebkov; Fab Tillier;
ofw at lists.openfabrics.org
Subject: RE: [OFW][patch] partition - amended

>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