docs: networking: nfc: change block diagram to sphinx syntax

Change the block diagram to match the sphinx syntax. This will make it
possible to switch this file to rst in the future.

Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
This commit is contained in:
Robert Schwebel 2019-11-22 08:43:03 +01:00 committed by Jakub Kicinski
parent 66ac53a8c5
commit c0b96e8f9f
1 changed files with 24 additions and 23 deletions

View File

@ -26,30 +26,31 @@ The control operations are available to userspace via generic netlink.
The low-level data exchange interface is provided by the new socket family The low-level data exchange interface is provided by the new socket family
PF_NFC. The NFC_SOCKPROTO_RAW performs raw communication with NFC targets. PF_NFC. The NFC_SOCKPROTO_RAW performs raw communication with NFC targets.
.. code-block:: none
+--------------------------------------+ +--------------------------------------+
| USER SPACE | | USER SPACE |
+--------------------------------------+ +--------------------------------------+
^ ^ ^ ^
| low-level | control | low-level | control
| data exchange | operations | data exchange | operations
| | | |
| v | v
| +-----------+ | +-----------+
| AF_NFC | netlink | | AF_NFC | netlink |
| socket +-----------+ | socket +-----------+
| raw ^ | raw ^
| | | |
v v v v
+---------+ +-----------+ +---------+ +-----------+
| rawsock | <--------> | core | | rawsock | <--------> | core |
+---------+ +-----------+ +---------+ +-----------+
^ ^
| |
v v
+-----------+ +-----------+
| driver | | driver |
+-----------+ +-----------+
Device Driver Interface Device Driver Interface
======================= =======================