[SCSI] fc class: add fc host dev loss sysfs file
authorMike Christie <michaelc@cs.wisc.edu>
Wed, 15 Sep 2010 21:52:32 +0000 (16:52 -0500)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 7 Oct 2010 22:09:44 +0000 (17:09 -0500)
commit43ca910a9c90566308f39f51ac03a55f94a5f83c
treea0ced12dbeebd12b0b5ae113ccfc6c6b823bb9e8
parent0af5d708aae3aef1f98a1c689007b92db2c10277
[SCSI] fc class: add fc host dev loss sysfs file

This adds a fc host dev loss sysfs file. Instead of
calling into the driver using the get_host_def_dev_loss_tmo
callback, we allow drivers to init the dev loss like is done
for other fc host params, and then the fc class will handle
updating the value if the user writes to the new sysfs file.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/scsi_transport_fc.c
include/scsi/scsi_transport_fc.h