diff options
author | Sam Bradshaw <sbradshaw@micron.com> | 2013-10-03 13:18:05 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2014-01-21 23:20:44 -0500 |
commit | 26d580575b4b8c3c83137315c9a2a77e60a2f716 (patch) | |
tree | 3b17a0e384cae65f77f833186362ea9286441828 /drivers/block/mtip32xx/mtip32xx.h | |
parent | 188b9f49d4b156b0c07ee05bf90ab7b290077d0f (diff) |
mtip32xx: Correctly handle security locked condition
If power is removed during a secure erase, the drive will end up in a
security locked condition. This patch causes the driver to identify,
log, and flag the security lock state. IOs are prevented from
submission to the drive until the locked state is addressed with a
secure erase.
Bumped version number to reflect this capability.
Signed-off-by: Sam Bradshaw <sbradshaw@micron.com>
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/mtip32xx/mtip32xx.h')
-rw-r--r-- | drivers/block/mtip32xx/mtip32xx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index bda35d97246a..b52e9a6d6aad 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h | |||
@@ -92,7 +92,7 @@ | |||
92 | 92 | ||
93 | /* Driver name and version strings */ | 93 | /* Driver name and version strings */ |
94 | #define MTIP_DRV_NAME "mtip32xx" | 94 | #define MTIP_DRV_NAME "mtip32xx" |
95 | #define MTIP_DRV_VERSION "1.2.6os3" | 95 | #define MTIP_DRV_VERSION "1.3.0" |
96 | 96 | ||
97 | /* Maximum number of minor device numbers per device. */ | 97 | /* Maximum number of minor device numbers per device. */ |
98 | #define MTIP_MAX_MINORS 16 | 98 | #define MTIP_MAX_MINORS 16 |