[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <12c35f3487e9fa1e52264ce69362c623a2ee556e.1459448160.git.jpinto@synopsys.com>
Date: Tue, 5 Apr 2016 11:39:58 +0100
From: Joao Pinto <Joao.Pinto@...opsys.com>
To: martin.petersen@...cle.com
Cc: vinholikatti@...il.com, julian.calaby@...il.com,
akinobu.mita@...il.com, hch@...radead.org, gbroner@...eaurora.org,
subhashj@...eaurora.org, CARLOS.PALMINHA@...opsys.com,
ijc+devicetree@...lion.org.uk, linux-kernel@...r.kernel.org,
linux-scsi@...r.kernel.org, devicetree@...r.kernel.org,
arnd@...db.de, mark.rutland@....com, robh@...nel.org,
tomas.winkler@...el.com, Joao Pinto <Joao.Pinto@...opsys.com>
Subject: [PATCH v13 5/9] added link status to ufshci
Added link status to ufshci.
Signed-off-by: Joao Pinto <jpinto@...opsys.com>
Acked-by: Tomas Winkler <tomas.winkler@...el.com>
---
Changes v12->v13:
- Nothing changed (just to keep up with patch set version).
Changes v0->v12 (Tomas Winkler):
- This patch only appeared in v12
drivers/scsi/ufs/ufshci.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/drivers/scsi/ufs/ufshci.h b/drivers/scsi/ufs/ufshci.h
index 20ece18..169363e 100644
--- a/drivers/scsi/ufs/ufshci.h
+++ b/drivers/scsi/ufs/ufshci.h
@@ -216,6 +216,12 @@ enum {
#define UIC_ARG_ATTR_TYPE(t) (((t) & 0xFF) << 16)
#define UIC_GET_ATTR_ID(v) (((v) >> 16) & 0xFFFF)
+/* Link Status*/
+enum link_status {
+ UFSHCD_LINK_IS_DOWN = 1,
+ UFSHCD_LINK_IS_UP = 2,
+};
+
/* UIC Commands */
enum uic_cmd_dme {
UIC_CMD_DME_GET = 0x01,
--
1.8.1.5
Powered by blists - more mailing lists