isci: fix "no outbound task timeout" default value
authorTomasz Chudy <Tomasz.Chudy@intel.com>
Wed, 23 Feb 2011 08:08:49 +0000 (00:08 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:27 +0000 (03:55 -0700)
The default should be 5us.  The hardware encodes it in 256ns increments,
so the value should be 20 to approximate a 5us timeout.

Signed-off-by: Tomasz Chudy <Tomasz.Chudy@intel.com>
Signed-off-by: Jacek Danecki <Jacek.Danecki@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/core/scic_sds_controller.c

index 53861ccbd5934ba24548d9d0430558709966eca0..1cbb91c0ead841b9c14b8c0dc6bb2d5976fbcef9 100644 (file)
@@ -1997,8 +1997,7 @@ static void scic_sds_controller_set_default_config_parameters(
        this_controller->user_parameters.sds1.ssp_inactivity_timeout = 5;
        this_controller->user_parameters.sds1.stp_max_occupancy_timeout = 5;
        this_controller->user_parameters.sds1.ssp_max_occupancy_timeout = 20;
-       this_controller->user_parameters.sds1.no_outbound_task_timeout = 5;
-
+       this_controller->user_parameters.sds1.no_outbound_task_timeout = 20;
 }