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