]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[SCSI] qla2xxx: Remove code to not reset ISP82xx on failure.
authorGiridhar Malavali <giridhar.malavali@qlogic.com>
Wed, 22 Dec 2010 00:00:25 +0000 (16:00 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 23 Dec 2010 22:07:55 +0000 (16:07 -0600)
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_gbl.h
drivers/scsi/qla2xxx/qla_nx.c
drivers/scsi/qla2xxx/qla_os.c

index 39c4bdda5e3eaccfebd3090120aa7d8b81ba1617..89e900adb67904aca461e284609e96d04f2ec0fe 100644 (file)
@@ -95,7 +95,6 @@ extern int ql2xfwloadbin;
 extern int ql2xetsenable;
 extern int ql2xshiftctondsd;
 extern int ql2xdbwr;
-extern int ql2xdontresethba;
 extern int ql2xasynctmfenable;
 extern int ql2xgffidenable;
 extern int ql2xenabledif;
index 22b0d781c75a860d7959cf102d9190ea968c7459..a971ec31a82ec0d0477ad1281905fae49c3485fd 100644 (file)
@@ -3556,8 +3556,7 @@ qla82xx_device_state_handler(scsi_qla_host_t *vha)
                        qla82xx_idc_lock(ha);
                        break;
                case QLA82XX_DEV_NEED_RESET:
-                       if (!ql2xdontresethba)
-                               qla82xx_need_reset_handler(vha);
+                       qla82xx_need_reset_handler(vha);
                        break;
                case QLA82XX_DEV_NEED_QUIESCENT:
                        qla82xx_need_qsnt_handler(vha);
index 51e944fafdc6e5aaebc310395174a6e1c8ea1a90..c194c23ca1fb6fef027c8d74bdd7f064e5274877 100644 (file)
@@ -147,13 +147,6 @@ MODULE_PARM_DESC(ql2xdbwr,
        " 0 -- Regular doorbell.\n"
        " 1 -- CAMRAM doorbell (faster).\n");
 
-int ql2xdontresethba;
-module_param(ql2xdontresethba, int, S_IRUGO);
-MODULE_PARM_DESC(ql2xdontresethba,
-       "Option to specify reset behaviour\n"
-       " 0 (Default) -- Reset on failure.\n"
-       " 1 -- Do not reset on failure.\n");
-
 int ql2xtargetreset = 1;
 module_param(ql2xtargetreset, int, S_IRUGO);
 MODULE_PARM_DESC(ql2xtargetreset,