Re: SCSI Mid-Layer API change in 2.6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Feb 18, 2005 at 01:04:11PM -0800, A wrote:
> Hello,
> 
> I have a slightly off-topic question regarding the
> SCSI Mid-layer in kernel 2.6.
> 
> I have a driver that interfaces to the SCSI mid-layer
> in 2.4, using API - scsi_register_module.  This API
> would register a "struct Scsi_Device_Template" that
> would contain function pointers 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).  Can someone who is knowledgeable in the
> SCSI mid-layer, 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 understanding it does
> not do the same functionality as the above.  Any
> pointer to any docs explaining the changes would be
> very appreciated.

Try asking this on the linux-scsi list.  They will be able to help you
out with all of your scsi needs :)

Good luck,

greg k-h

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux