diff options
author | Xiangliang Yu <yuxiangl@marvell.com> | 2013-01-29 11:25:53 -0500 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-02-22 06:18:33 -0500 |
commit | 7c237c5f6d5c62724ccd82aecdcd1fd9bd71dc75 (patch) | |
tree | 70660235d07bba87b4221912f08fabe3192a5c48 /drivers/scsi/mvsas/mv_sas.h | |
parent | 2b4df6ea53d05625e9ca2dd73bc0e831976e009d (diff) |
[SCSI] mvsas: fixed timeout issue when removing module
Root cause is libsas will clear asd_sas_port phy_mask value in sas_port_deform
after triggering destruct workqueue, but the workqueue will send sync cmd and
still need phy_mask value. Now, mvsas using asd_sas_phy setting instead of
asd_sas_port setting.
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/mvsas/mv_sas.h')
-rw-r--r-- | drivers/scsi/mvsas/mv_sas.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/mvsas/mv_sas.h b/drivers/scsi/mvsas/mv_sas.h index 2ae77a0394b2..9f3cc13a5ce7 100644 --- a/drivers/scsi/mvsas/mv_sas.h +++ b/drivers/scsi/mvsas/mv_sas.h | |||
@@ -76,6 +76,7 @@ extern struct kmem_cache *mvs_task_list_cache; | |||
76 | (__mc) != 0 ; \ | 76 | (__mc) != 0 ; \ |
77 | (++__lseq), (__mc) >>= 1) | 77 | (++__lseq), (__mc) >>= 1) |
78 | 78 | ||
79 | #define MVS_PHY_ID (1U << sas_phy->id) | ||
79 | #define MV_INIT_DELAYED_WORK(w, f, d) INIT_DELAYED_WORK(w, f) | 80 | #define MV_INIT_DELAYED_WORK(w, f, d) INIT_DELAYED_WORK(w, f) |
80 | #define UNASSOC_D2H_FIS(id) \ | 81 | #define UNASSOC_D2H_FIS(id) \ |
81 | ((void *) mvi->rx_fis + 0x100 * id) | 82 | ((void *) mvi->rx_fis + 0x100 * id) |