Scsi_Host_Template driver_template

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

 



Title: Scsi_Host_Template driver_template

I'm designing a loadable scsi driver for the 2.4 kernel, defining my Scsi_Host_Template driver_template as per scsi_module.c

What's the difference between the revoke and release routines?  ../drivers/scsi/host.h is not too clear:

<snip>

int (*revoke)(Scsi_Device *);

/* Used with loadable modules to unload the host structures.  Note:
* there is a default action built into the modules code which may
* be sufficient for most host adapters.  Thus you may not have to supply
* this at all.
*/
int (*release)(struct Scsi_Host *);

<snip>

release is meant to be used with loadable modules, but what is revoke for?  In case the user yanks the card?

Thank you,

Christine


[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