]> Git Repo - J-u-boot.git/blobdiff - net/Kconfig
Convert CONFIG_SYS_FAULT_ECHO_LINK_DOWN to Kconfig
[J-u-boot.git] / net / Kconfig
index 7a2d145018815c622dec7d37fba3753a3819dc46..650551606d329ccd8f9d78ec86c8a134f46d1f8e 100644 (file)
@@ -8,6 +8,17 @@ menuconfig NET
 
 if NET
 
+config ARP_TIMEOUT
+       int "Milliseconds before trying ARP again"
+       default 5000
+
+config NET_RETRY_COUNT
+       int "Number of timeouts before giving up"
+       default 5
+       help
+         This variable defines the number of retries for network operations
+         like ARP, RARP, TFTP, or BOOTP before giving up the operation.
+
 config PROT_UDP
        bool "Enable generic udp framework"
        help
@@ -27,10 +38,11 @@ config BOOTP_SEND_HOSTNAME
 config NET_RANDOM_ETHADDR
        bool "Random ethaddr if unset"
        help
-         Selecting this will allow the Ethernet interface to function
-         even when the ethaddr variable for that interface is unset.
-         A new MAC address will be generated on every boot and it will
-         not be added to the environment.
+         Selecting this will allow the Ethernet interface to function even
+         when the ethaddr variable for that interface is unset.  In this case,
+         a random MAC address in the locally administered address space is
+         generated. It will be saved to the appropriate environment variable,
+         too.
 
 config NETCONSOLE
        bool "NetConsole support"
@@ -54,6 +66,13 @@ config NET_MAXDEFRAG
          used for reassembly, and thus an upper bound for the size of
          IP datagrams that can be received.
 
+config SYS_FAULT_ECHO_LINK_DOWN
+       bool "Echo the inverted Ethernet link state to the fault LED"
+       help
+         Echo the inverted Ethernet link state to the fault LED.  Note, if
+         this option is active, then CONFIG_SYS_FAULT_MII_ADDR also needs to
+         be configured.
+
 config TFTP_BLOCKSIZE
        int "TFTP block size"
        default 1468
@@ -98,4 +117,28 @@ config SERVERIP_FROM_PROXYDHCP_DELAY_MS
                receiving response from main DHCP server. Has no effect if
                SERVERIP_FROM_PROXYDHCP is false.
 
+config KEEP_SERVERADDR
+       bool "Write the server's MAC address to 'serveraddr'"
+       default y if SANDBOX
+       help
+         Keeps the server's MAC address, in the env 'serveraddr'
+         for passing to bootargs (like Linux's netconsole option). If this is
+         enabled, when an ARP reply is received, the server's IP address is
+         written there.
+
+config UDP_CHECKSUM
+       bool "Check the UDP checksum"
+       default y if SANDBOX
+       help
+         Enable this to verify the checksum on UDP packets. If the checksum
+         is wrong then the packet is discussed and an error is shown, like
+         "UDP wrong checksum 29374a23 30ff3826"
+
+config BOOTP_SERVERIP
+       bool "Use the 'serverip' env var for tftp, not bootp"
+       help
+         Enable this if the TFTP server will be the 'serverip' environment
+         variable, not the BOOTP server. This affects the operation of both
+         bootp and tftp.
+
 endif   # if NET
This page took 0.026561 seconds and 4 git commands to generate.