summaryrefslogtreecommitdiffstats
path: root/drivers/block/mtip32xx/mtip32xx.h
diff options
context:
space:
mode:
authorSam Bradshaw <sbradshaw@micron.com>2013-10-03 10:18:05 -0700
committerJens Axboe <axboe@kernel.dk>2014-01-21 20:20:44 -0800
commit26d580575b4b8c3c83137315c9a2a77e60a2f716 (patch)
tree3b17a0e384cae65f77f833186362ea9286441828 /drivers/block/mtip32xx/mtip32xx.h
parent188b9f49d4b156b0c07ee05bf90ab7b290077d0f (diff)
downloadop-kernel-dev-26d580575b4b8c3c83137315c9a2a77e60a2f716.zip
op-kernel-dev-26d580575b4b8c3c83137315c9a2a77e60a2f716.tar.gz
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h
index bda35d9..b52e9a6 100644
--- a/drivers/block/mtip32xx/mtip32xx.h
+++ b/drivers/block/mtip32xx/mtip32xx.h
@@ -92,7 +92,7 @@
/* Driver name and version strings */
#define MTIP_DRV_NAME "mtip32xx"
-#define MTIP_DRV_VERSION "1.2.6os3"
+#define MTIP_DRV_VERSION "1.3.0"
/* Maximum number of minor device numbers per device. */
#define MTIP_MAX_MINORS 16
OpenPOWER on IntegriCloud