Good day, everyone!

I have a question here.
I have two drivers, say A and B, that cooperate to provide a specific 
funcationality. A can call a routine provided by B and passes in a callback as 
a parameter so that B can use that to call into A. From this point of view, 
they behavior like module. Such calls could be issued even before the drivers 
create minor nodes. Yet I can only create one-way dependency, say A depends on 
B. 
The issues is: it's possible that A could be unloaded, which is very possible 
with debug kernel, when B call into A. And the system will panic.

Is there a way out ?

Thank you
  --Flyman
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to