[PATCH 20/42] docs: scsi: convert link_power_management_policy.txt to ReST

From: Mauro Carvalho Chehab
Date: Mon Mar 02 2020 - 03:19:08 EST


Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
Documentation/scsi/index.rst | 1 +
...t_policy.txt => link_power_management_policy.rst} | 12 +++++++++---
2 files changed, 10 insertions(+), 3 deletions(-)
rename Documentation/scsi/{link_power_management_policy.txt => link_power_management_policy.rst} (65%)

diff --git a/Documentation/scsi/index.rst b/Documentation/scsi/index.rst
index e6850c0a1378..c40050ac3b32 100644
--- a/Documentation/scsi/index.rst
+++ b/Documentation/scsi/index.rst
@@ -24,5 +24,6 @@ Linux SCSI Subsystem
hpsa
hptiop
libsas
+ link_power_management_policy

scsi_transport_srp/figures
diff --git a/Documentation/scsi/link_power_management_policy.txt b/Documentation/scsi/link_power_management_policy.rst
similarity index 65%
rename from Documentation/scsi/link_power_management_policy.txt
rename to Documentation/scsi/link_power_management_policy.rst
index d18993d01884..64288dcf10f6 100644
--- a/Documentation/scsi/link_power_management_policy.txt
+++ b/Documentation/scsi/link_power_management_policy.rst
@@ -1,8 +1,15 @@
+.. SPDX-License-Identifier: GPL-2.0
+
+==========================
+Link Power Managent Policy
+==========================
+
This parameter allows the user to set the link (interface) power management.
There are 3 possible options:

+===================== =====================================================
Value Effect
-----------------------------------------------------------------------------
+===================== =====================================================
min_power Tell the controller to try to make the link use the
least possible power when possible. This may
sacrifice some performance due to increased latency
@@ -15,5 +22,4 @@ max_performance Generally, this means no power management. Tell
medium_power Tell the controller to enter a lower power state
when possible, but do not enter the lowest power
state, thus improving latency over min_power setting.
-
-
+===================== =====================================================
--
2.21.1