Nils Goroll wrote:
> Hi All,
>
> I've found another option: Though I thought this was quite hacky, changing 
> the 
> qinfos of the stream queues seems to be something which has already been done 
> (3rd and 2nd last line):
>
> http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/io/softmac/softmac_dev.c#softmac_open
>
> So I see three options to get my implementation done at the moment:
>
> 1) Use one driver, change the stream ops by modifying the qinfos at open time 
> (as above)
> 2) Use one driver and two modules, somehow pushing the modules over the 
> driver 
> in the stream (have not found out yet how to do this)
> 3) Use one driver and change all stream functions into "proxies"
>
> At the moment, I favor the first or second option and I am trying to 
> implement 
> 1) first as it seems to be easiest to implement (at least for a prototype).
>
> Would anyone have some good advice on which is the best way to go?
>   

When I've been faced with this problem, I've chosen option #3.  It 
doesn't violate any DDI, and has minimal overhead cost.

    -- Garrett
> Thank you,
>
> Nils
> _______________________________________________
> driver-discuss mailing list
> [email protected]
> http://mail.opensolaris.org/mailman/listinfo/driver-discuss
>   

_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to