Skip to content

Commit

Permalink
docs: networking: nfc: change block diagram to sphinx syntax
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert Schwebel authored and Jakub Kicinski committed Nov 23, 2019
1 parent 66ac53a commit c0b96e8
Showing 1 changed file with 25 additions and 24 deletions.
49 changes: 25 additions & 24 deletions Documentation/networking/nfc.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
PF_NFC. The NFC_SOCKPROTO_RAW performs raw communication with NFC targets.


+--------------------------------------+
| USER SPACE |
+--------------------------------------+
^ ^
| low-level | control
| data exchange | operations
| |
| v
| +-----------+
| AF_NFC | netlink |
| socket +-----------+
| raw ^
| |
v v
+---------+ +-----------+
| rawsock | <--------> | core |
+---------+ +-----------+
^
|
v
+-----------+
| driver |
+-----------+
.. code-block:: none

+--------------------------------------+
| USER SPACE |
+--------------------------------------+
^ ^
| low-level | control
| data exchange | operations
| |
| v
| +-----------+
| AF_NFC | netlink |
| socket +-----------+
| raw ^
| |
v v
+---------+ +-----------+
| rawsock | <--------> | core |
+---------+ +-----------+
^
|
v
+-----------+
| driver |
+-----------+

Device Driver Interface
=======================
Expand Down

0 comments on commit c0b96e8

Please sign in to comment.