Hello,

In kernel 2.4, I have a driver that interfaces to the
SCSI mid-layer using API - scsi_register_module. 
Through this API the (character) driver registers a
"struct scsi_Device_Template" that would contain
function pointers (specifically detect) that would be
called for each SCSI device in the system.  That way
my driver would have a knowledge and pointer to all
SCSI devices in the system.

I don't see the API - scsi_register_module in 2.6 (or
similar one) to which I an pass an object of the above
type.  Can someone please tell me how I can do the
same thing in 2.6.  I have looked into the function -
scsi_host_alloc(), but from my reading of code, I
don't think it does the same functionality as what I
was doing in 2.4.  Any pointer to any docs explaining
the changes from 2.4 to 2.6, or how to accomplish what
I am trying to do would be very appreciated.

Thank you,
A.



                
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - now with 250MB free storage. Learn more.
http://info.mail.yahoo.com/mail_250
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to