[SCSI] megaraid_sas: Add struct megasas_instance_template changes
authoradam radford <aradford@gmail.com>
Tue, 21 Dec 2010 18:23:23 +0000 (10:23 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 23 Dec 2010 05:26:52 +0000 (23:26 -0600)
commitcd50ba8ede5cd3c4606a8e5d163913da5ff36ad7
treed4353f5a3b622df47a39bfa84744c5f7e5c9e417
parentb6d5d8808b4c563a56414a4c4c6d652b5f87c088
[SCSI] megaraid_sas: Add struct megasas_instance_template changes

The following patch adds struct megasas_instance_template changes to
the megaraid_sas driver, and changes all code to use the new instance
entries:

   irqreturn_t (*service_isr )(int irq, void *devp);
   void (*tasklet)(unsigned long);
   u32 (*init_adapter)(struct megasas_instance *);
   u32 (*build_and_issue_cmd) (struct megasas_instance *, struct scsi_cmnd *);
   void (*issue_dcmd) (struct megasas_instance *instance,
                              struct megasas_cmd *cmd);

Signed-off-by: Adam Radford <aradford@gmail.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/megaraid/megaraid_sas.h
drivers/scsi/megaraid/megaraid_sas_base.c