diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2013-06-26 13:09:27 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-28 16:02:41 -0400 |
commit | 2fbd009b40967fc54b7eb3580372736862291a06 (patch) | |
tree | 8179e88b35c7a59d221957b3ef57af3d960345bc /drivers/scsi/ufs/ufshci.h | |
parent | b873a27538dff59e77c15eaf23bdf7e6be7d36e9 (diff) |
[SCSI] ufs: amend interrupt configuration
It makes interrupt setting more flexible especially
for disabling. And wrong bit mask is fixed for ver 1.0.
[17:16] is added for mask.
Signed-off-by: Seungwon Jeon <tgih.jun@samsung.com>
Tested-by: Maya Erez <merez@codeaurora.org>
Signed-off-by: Santosh Y <santoshsy@gmail.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/ufs/ufshci.h')
-rw-r--r-- | drivers/scsi/ufs/ufshci.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h index 0c164847a3ef..d5c5f1482d7d 100644 --- a/drivers/scsi/ufs/ufshci.h +++ b/drivers/scsi/ufs/ufshci.h | |||
@@ -232,10 +232,11 @@ enum { | |||
232 | /* Interrupt disable masks */ | 232 | /* Interrupt disable masks */ |
233 | enum { | 233 | enum { |
234 | /* Interrupt disable mask for UFSHCI v1.0 */ | 234 | /* Interrupt disable mask for UFSHCI v1.0 */ |
235 | INTERRUPT_DISABLE_MASK_10 = 0xFFFF, | 235 | INTERRUPT_MASK_ALL_VER_10 = 0x30FFF, |
236 | INTERRUPT_MASK_RW_VER_10 = 0x30000, | ||
236 | 237 | ||
237 | /* Interrupt disable mask for UFSHCI v1.1 */ | 238 | /* Interrupt disable mask for UFSHCI v1.1 */ |
238 | INTERRUPT_DISABLE_MASK_11 = 0x0, | 239 | INTERRUPT_MASK_ALL_VER_11 = 0x31FFF, |
239 | }; | 240 | }; |
240 | 241 | ||
241 | /* | 242 | /* |