Skip to content

Commit 883780a

Browse files
mchehabdavem330
authored andcommitted
docs: networking: convert x25-iface.txt to ReST
Not much to be done here: - add SPDX header; - adjust title markup; - remove a tail whitespace; - add to networking/index.rst. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent d2a85c1 commit 883780a

File tree

4 files changed

+11
-4
lines changed

4 files changed

+11
-4
lines changed

Documentation/networking/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ Contents:
115115
udplite
116116
vrf
117117
vxlan
118+
x25-iface
118119

119120
.. only:: subproject and html
120121

Documentation/networking/x25-iface.txt renamed to Documentation/networking/x25-iface.rst

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
X.25 Device Driver Interface 1.1
1+
.. SPDX-License-Identifier: GPL-2.0
2+
3+
============================-
4+
X.25 Device Driver Interface
5+
============================-
6+
7+
Version 1.1
28

39
Jonathan Naylor 26.12.96
410

@@ -99,7 +105,7 @@ reduced by the following measures or a combination thereof:
99105
(1) Drivers for kernel versions 2.4.x and above should always check the
100106
return value of netif_rx(). If it returns NET_RX_DROP, the
101107
driver's LAPB protocol must not confirm reception of the frame
102-
to the peer.
108+
to the peer.
103109
This will reliably suppress packet loss. The LAPB protocol will
104110
automatically cause the peer to re-transmit the dropped packet
105111
later.

include/uapi/linux/if_x25.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include <linux/types.h>
2020

21-
/* Documentation/networking/x25-iface.txt */
21+
/* Documentation/networking/x25-iface.rst */
2222
#define X25_IFACE_DATA 0x00
2323
#define X25_IFACE_CONNECT 0x01
2424
#define X25_IFACE_DISCONNECT 0x02

net/x25/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ config X25
2121
<http://docwiki.cisco.com/wiki/X.25>.
2222
Information about X.25 for Linux is contained in the files
2323
<file:Documentation/networking/x25.txt> and
24-
<file:Documentation/networking/x25-iface.txt>.
24+
<file:Documentation/networking/x25-iface.rst>.
2525

2626
One connects to an X.25 network either with a dedicated network card
2727
using the X.21 protocol (not yet supported by Linux) or one can do

0 commit comments

Comments
 (0)