Skip to content

Commit fe68f9b

Browse files
jmentiStaticRocket
authored andcommitted
fix: Fix UFS block rendering
Block instances in UFS guide are not rendered correctly, so fix all instances and use code-block:: console syntax. While here, also fixup whitespace and references to other guides. Signed-off-by: Judith Mendez <[email protected]>
1 parent a4b946b commit fe68f9b

File tree

3 files changed

+18
-21
lines changed

3 files changed

+18
-21
lines changed

source/linux/Foundational_Components/Kernel/Kernel_Drivers/UFS.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _KERNEL-SATA:
2+
13
UFS
24
---------------------------------
35

source/linux/Foundational_Components/U-Boot/UG-SATA.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _UG-SATA:
2+
13
SATA
24
------------------------------------
35

Lines changed: 14 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,29 @@
11
UFS
2-
---------------------------
2+
---
33

4-
Universal Flash Subsystem (UFS) devices show up as scsi devices similar
5-
to SATA in the `previous section <UG-SATA.html>`__.
6-
One additional command to initialize all ufs devices is:
4+
Universal Flash Subsystem (UFS) devices show up as scsi devices similar to SATA
5+
in the :ref:`previous section <UG-SATA>`. One additional command to initialize
6+
all ufs devices is:
77

8-
::
9-
=> ufs init
10-
Device at ufs@4e84000 up at:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
8+
.. code-block:: console
119
12-
|
10+
=> ufs init
11+
Device at ufs@4e84000 up at:[RX, TX]: gear=[3, 3], lane[2, 2], pwr[FAST MODE, FAST MODE], rate = 2
1312
1413
Then we can go ahead with 'scsi scan' to see the attached devices:
1514

16-
::
15+
.. code-block:: console
1716
18-
=> scsi scan
19-
scanning bus for devices...
20-
Device 0: (0:0) Vendor: TOSHIBA Prod.: THGAF8G8T23BAILB Rev: 0300
17+
=> scsi scan
18+
scanning bus for devices...
19+
Device 0: (0:0) Vendor: TOSHIBA Prod.: THGAF8G8T23BAILB Rev: 0300
2120
Type: Hard Disk
2221
Capacity: 31.9 MB = 0.0 GB (8191 x 4096)
23-
Device 0: (0:1) Vendor: TOSHIBA Prod.: THGAF8G8T23BAILB Rev: 0300
22+
Device 0: (0:1) Vendor: TOSHIBA Prod.: THGAF8G8T23BAILB Rev: 0300
2423
Type: Hard Disk
2524
Capacity: 30499.9 MB = 29.7 GB (7807999 x 4096)
2625
27-
|
28-
29-
All the remaining scsi commands detailed in the
30-
:doc:`previous section <UG-SATA>` are
26+
All the remaining scsi commands detailed in the :ref:`previous section <UG-SATA>` are
3127
also applicable.
3228

33-
For more information about UFS see
34-
:doc:`Kernel UFS Guide <../Kernel/Kernel_Drivers/UFS>`.
35-
36-
29+
For more information about UFS see :ref:`Kernel UFS Guide <KERNEL-SATA>`.

0 commit comments

Comments
 (0)