[PATCH] Documentation: networking: improve net.* variable description

Roland Hieber rhi at pengutronix.de
Mon Feb 6 05:45:51 PST 2023


Signed-off-by: Roland Hieber <rhi at pengutronix.de>
---
 Documentation/user/booting-linux.rst |  2 ++
 Documentation/user/networking.rst    | 10 ++++++----
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/Documentation/user/booting-linux.rst b/Documentation/user/booting-linux.rst
index 60babb513cea..1a95f87e77c4 100644
--- a/Documentation/user/booting-linux.rst
+++ b/Documentation/user/booting-linux.rst
@@ -232,6 +232,8 @@ device where the entry is found on. This makes it possible to use the same rootf
 image on different devices without having to specify a different root= option each
 time.
 
+.. _booting_linux_net:
+
 Network boot
 ------------
 
diff --git a/Documentation/user/networking.rst b/Documentation/user/networking.rst
index 9231ebde56ac..2306cb6a60d1 100644
--- a/Documentation/user/networking.rst
+++ b/Documentation/user/networking.rst
@@ -45,15 +45,17 @@ device:
 |                              |              | any directly visible subnet. May be set        |
 |                              |              | automatically by DHCP.                         |
 +------------------------------+--------------+------------------------------------------------+
-| global.net.server            | hostname or  | The default server. If unspecified, may be set |
-|                              | ipv4 address | by DHCP                                        |
+| global.net.server            | hostname or  | The default server used by the defaultenv boot |
+|                              | ipv4 address | scripts for NFS and TFTP; see                  |
+|                              |              | :ref:`booting_linux_net`.                      |
+|                              |              | If unspecified, may be set by DHCP.            |
 +------------------------------+--------------+------------------------------------------------+
 | global.net.nameserver        | ipv4 address | The DNS server used for resolving host names.  |
-|                              |              | May be set by DHCP                             |
+|                              |              | May be set by DHCP.                            |
 +------------------------------+--------------+------------------------------------------------+
 | global.net.ifup_force_detect | boolean      | Set to true if your network device is not      |
 |                              |              | detected automatically during start (i.e. for  |
-|                              |              | USB network adapters)                          |
+|                              |              | USB network adapters).                         |
 +------------------------------+--------------+------------------------------------------------+
 
 The first step for networking is configuring the network device. The network
-- 
2.30.2




More information about the barebox mailing list