diff options
author | Seungwon Jeon <tgih.jun@samsung.com> | 2013-06-26 19:09:27 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-28 22:02:41 +0200 |
commit | 2fbd009b40967fc54b7eb3580372736862291a06 (patch) | |
tree | 8179e88b35c7a59d221957b3ef57af3d960345bc /drivers/scsi/ufs/ufshci.h | |
parent | [SCSI] ufs: wrap the i/o access operations (diff) | |
download | linux-2fbd009b40967fc54b7eb3580372736862291a06.tar.xz linux-2fbd009b40967fc54b7eb3580372736862291a06.zip |
[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 { /* Interrupt disable masks */ enum { /* Interrupt disable mask for UFSHCI v1.0 */ - INTERRUPT_DISABLE_MASK_10 = 0xFFFF, + INTERRUPT_MASK_ALL_VER_10 = 0x30FFF, + INTERRUPT_MASK_RW_VER_10 = 0x30000, /* Interrupt disable mask for UFSHCI v1.1 */ - INTERRUPT_DISABLE_MASK_11 = 0x0, + INTERRUPT_MASK_ALL_VER_11 = 0x31FFF, }; /* |