the answer is yes. the method depends on the mode however. if you have a
linked-in driver, you define xyzinit/xyzterm() functions in your driver code
and enter initialize/terminate specifications in your driver's Config file.
if you have a dynamically loadable driver, you define
init_module/cleanup_module() functions in your driver code and enter the
loadable specification in your driver's Config file.

Gurol

-----Original Message-----
From: David Lehmann [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 03, 2003 10:15 AM
To: [EMAIL PROTECTED]
Subject: [Linux-streams] _init/_fini equivalent for modules?


Hello,

Are there (or could there be) equivalents of  _init/_fini functions
in Solaris?  i.e. I would like to know when module is loaded or unloaded
for initialization and clean up.

-- 

David Lehmann                          Ulticom, Inc.
AOL/Yahoo IM: davidULCM                1020 Briggs Road
1-856-787-2729                         Mt. Laurel, NJ 08054   USA


_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

_______________________________________________
Linux-streams mailing list
[EMAIL PROTECTED]
http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams

Reply via email to