diff options
author | Selvan Mani <smani@micron.com> | 2012-09-27 14:36:43 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2012-10-30 08:37:27 +0100 |
commit | 4453bc88f0f7be6d84b50b2e1c1ed239c45fb14a (patch) | |
tree | bd63f04dabeb4ad0ed35608e37f7554317a83a1a /drivers/block/mtip32xx/mtip32xx.h | |
parent | 1f999572f244f266c5b1b855025723541b0b475d (diff) | |
download | blackbird-op-linux-4453bc88f0f7be6d84b50b2e1c1ed239c45fb14a.tar.gz blackbird-op-linux-4453bc88f0f7be6d84b50b2e1c1ed239c45fb14a.zip |
mtip32xx:Added appropriate timeout value for secure erase
Added appropriate timeout value for secure erase based on identify device data
Signed-off-by: Asai Thambi S P <asamymuthupa@micron.com>
Signed-off-by: Selvan Mani <smani@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 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/mtip32xx/mtip32xx.h b/drivers/block/mtip32xx/mtip32xx.h index 18627a1d04c5..5f4a917bd8bb 100644 --- a/drivers/block/mtip32xx/mtip32xx.h +++ b/drivers/block/mtip32xx/mtip32xx.h @@ -33,6 +33,9 @@ /* offset of Device Control register in PCIe extended capabilites space */ #define PCIE_CONFIG_EXT_DEVICE_CONTROL_OFFSET 0x48 +/* check for erase mode support during secure erase */ +#define MTIP_SEC_ERASE_MODE 0x3 + /* # of times to retry timed out/failed IOs */ #define MTIP_MAX_RETRIES 2 |