[SCSI] lpfc: prep for fc host dev loss tmo support
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 15 Sep 2010 21:52:31 +0000 (16:52 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 7 Oct 2010 22:09:42 +0000 (17:09 -0500)
commit0af5d708aae3aef1f98a1c689007b92db2c10277
tree1e612e63740b59fcc9ab2fd21ace4844be2c3907
parentd2b5f10e5b93633a40d9263383b914f06019f00b
[SCSI] lpfc: prep for fc host dev loss tmo support

This removes the driver's get_host_def_dev_loss_tmo
callback and just has the driver set the dev loss
using the fc class fc_host_dev_loss_tmo macro like is
done for other fc params.

It also adds compat support for the driver's existing
dev loss and nodev sysfs and modparams.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_init.c