On Sat, Jul 3, 2010 at 1:07 AM, Steven Stallion
<[email protected]> wrote:
> Steven Stallion wrote:
>> All,
>>
>> I am looking at implementing a nexus driver which would potentially
>> maintain leaf nodes associated with one or more PCI/PCIe/PCI-X devices.
>> Looking through sunndi.h, promif.h, etc. I do not see any specific
>> functions for searching the device tree for a given device/vendor ID.
>
> I probably hit "Send" too quickly...
>
> My question has more to do with finding dev_info_t handles. Since these
> are devices hanging off of the PCI bus, dev_info_t's should already
> exist (somewhere).
>
> Essentially, I would like to hand off matching dev_info_t's elsewhere
> for driver setup rather than making use of attach(9E). Unfortunately I
> cannot be any more specific other than this has something to do with
> non-MPxIO multi-pathing).
Steven,
I do not know details of the architecture you are trying to build,
but have you thought about pseudo driver layered on top of the
existing PCI leaf drivers, rather than nexus beneath them (so to speak) ?
It could be task easier to accomplish, than building the nexus. It also
will have a nice side effect of being DDI compliant (which nexus would not).
--
Regards,
Cyril
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss