Commit 3ac10b02 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab Committed by Jonathan Corbet

docs: ntb.txt: use Sphinx notation for the two ascii figures

In order to make it to build with Sphinx, we need to fix the
notation for two ascii artwork.
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
parent 26187d18
...@@ -41,9 +41,10 @@ mainly used to perform the proper memory window initialization. Typically ...@@ -41,9 +41,10 @@ mainly used to perform the proper memory window initialization. Typically
there are two types of memory window interfaces supported by the NTB API: there are two types of memory window interfaces supported by the NTB API:
inbound translation configured on the local ntb port and outbound translation inbound translation configured on the local ntb port and outbound translation
configured by the peer, on the peer ntb port. The first type is configured by the peer, on the peer ntb port. The first type is
depicted on the next figure depicted on the next figure::
Inbound translation:
Inbound translation:
Memory: Local NTB Port: Peer NTB Port: Peer MMIO: Memory: Local NTB Port: Peer NTB Port: Peer MMIO:
____________ ____________
| dma-mapped |-ntb_mw_set_trans(addr) | | dma-mapped |-ntb_mw_set_trans(addr) |
...@@ -58,9 +59,10 @@ maps corresponding outbound memory window so to have access to the shared ...@@ -58,9 +59,10 @@ maps corresponding outbound memory window so to have access to the shared
memory region. memory region.
The second type of interface, that implies the shared windows being The second type of interface, that implies the shared windows being
initialized by a peer device, is depicted on the figure: initialized by a peer device, is depicted on the figure::
Outbound translation:
Outbound translation:
Memory: Local NTB Port: Peer NTB Port: Peer MMIO: Memory: Local NTB Port: Peer NTB Port: Peer MMIO:
____________ ______________ ____________ ______________
| dma-mapped | | | MW base addr |<== memory-mapped IO | dma-mapped | | | MW base addr |<== memory-mapped IO
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment