projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eda4531
)
mtip32xx: Fix incorrect mask used for erase mode
author
Selvan Mani
<
[email protected]
>
Wed, 7 Nov 2012 13:03:56 +0000
(06:03 -0700)
committer
Jens Axboe
<
[email protected]
>
Fri, 23 Nov 2012 13:32:55 +0000
(14:32 +0100)
Previous commit use value 3 for erasemode mask.
Changing the mask to correct value to 2
Signed-off-by: Selvan Mani <
[email protected]
>
Signed-off-by: Asai Thambi S P <
[email protected]
>
Signed-off-by: Jens Axboe <
[email protected]
>
drivers/block/mtip32xx/mtip32xx.h
patch
|
blob
|
history
diff --git
a/drivers/block/mtip32xx/mtip32xx.h
b/drivers/block/mtip32xx/mtip32xx.h
index 5f4a917bd8bbcfe88283b3509e365a0faefbb3b5..8498e99666b2edd5f22440fa2199179f069a7d30 100644
(file)
--- a/
drivers/block/mtip32xx/mtip32xx.h
+++ b/
drivers/block/mtip32xx/mtip32xx.h
@@
-34,7
+34,7
@@
#define PCIE_CONFIG_EXT_DEVICE_CONTROL_OFFSET 0x48
/* check for erase mode support during secure erase */
-#define MTIP_SEC_ERASE_MODE 0x
3
+#define MTIP_SEC_ERASE_MODE 0x
2
/* # of times to retry timed out/failed IOs */
#define MTIP_MAX_RETRIES 2