scsi: docs: include SCSI Transport SRP diagram at the doc body

Instead of having a separate makefile, and be alone, group
it at the SCSI documentation and make it being built as part
of docs makefile.

Link: https://lore.kernel.org/r/419c455fb40c9a1e85cc9a654a7fdb07aeeccf71.1583136624.git.mchehab+huawei@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
Mauro Carvalho Chehab 2020-03-02 09:15:35 +01:00 committed by Martin K. Petersen
parent 31df2fd54c
commit 7f877908df
3 changed files with 7 additions and 8 deletions

View File

@ -7,4 +7,4 @@ Linux SCSI Subsystem
.. toctree:: .. toctree::
:maxdepth: 1 :maxdepth: 1
scsi_transport_srp/figures

View File

@ -1,7 +0,0 @@
all: rport_state_diagram.svg rport_state_diagram.png
rport_state_diagram.svg: rport_state_diagram.dot
dot -Tsvg -o $@ $<
rport_state_diagram.png: rport_state_diagram.dot
dot -Tpng -o $@ $<

View File

@ -0,0 +1,6 @@
.. SPDX-License-Identifier: GPL-2.0
SCSI RDMA (SRP) transport class diagram
=======================================
.. kernel-figure:: rport_state_diagram.dot