xxattach() and _init() doubts
Hi I am new to Solaris Kernel development
I wanted to know when the xxattach() routine is called.... also, I create a soft-state structure (say mySoftState) and pass it to ddi_soft_state_init() routine inside the _init() routine. Now, the first argument of xxattach is dev_info_t which is a member of mySoftState structure declared by me. Is this member passed to xxattach() automatically ?
Also, in linux we have register_chrdev() routine that associates a character major
number with set of driver entry points. Does the ddi_soft_state_init() do the equivalent operation of register_chrdev() ?
-Kaushik

