net: remove NET_ARCH_INCR32
authorEunBong Song <eunb.song@samsung.com>
Tue, 4 Apr 2017 05:05:38 +0000 (14:05 +0900)
committerHeesub Shin <heesub.shin@samsung.com>
Tue, 18 Apr 2017 03:02:07 +0000 (12:02 +0900)
NET_ARCH_INCR32 is a Nuttx uIP legacy feature and not used anymore.
This patch removes all related codes with NET_ARCH_INCR32.

Change-Id: Iee50bae2abbd93a754e9ea1fb653400c34c22874
Signed-off-by: EunBong Song <eunb.song@samsung.com>
build/configs/artik053/nettest/defconfig
build/configs/sidk_s5jt200/sidk_tash_wlan/defconfig
os/include/tinyara/net/netdev.h
os/net/utils/Kconfig

index 2808514..43031d6 100644 (file)
@@ -731,7 +731,6 @@ CONFIG_NET_IPv4=y
 # Network Device Operations
 #
 # CONFIG_NETDEV_PHY_IOCTL is not set
-# CONFIG_NET_ARCH_INCR32 is not set
 # CONFIG_NET_ARCH_CHKSUM is not set
 
 #
index c483387..9edfdf1 100755 (executable)
@@ -732,7 +732,6 @@ CONFIG_NET_IPv4=y
 # Network Device Operations
 #
 # CONFIG_NETDEV_PHY_IOCTL is not set
-# CONFIG_NET_ARCH_INCR32 is not set
 # CONFIG_NET_ARCH_CHKSUM is not set
 
 #
index 8145bc3..40b29f0 100644 (file)
@@ -422,27 +422,6 @@ int netdev_carrier_off(FAR struct net_driver_s *dev);
 uint16_t net_chksum(FAR uint16_t *data, uint16_t len);
 
 /****************************************************************************
- * Name: net_incr32
- *
- * Description:
- *
- *   Carry out a 32-bit addition.
- *
- *   By defining CONFIG_NET_ARCH_INCR32, the architecture can replace
- *   net_incr32 with hardware assisted solutions.
- *
- * Input Parameters:
- *   op32 - A pointer to a 4-byte array representing a 32-bit integer in
- *          network byte order (big endian).  This value may not be word
- *          aligned. The value pointed to by op32 is modified in place
- *
- *   op16 - A 16-bit integer in host byte order.
- *
- ****************************************************************************/
-
-void net_incr32(FAR uint8_t *op32, uint16_t op16);
-
-/****************************************************************************
  * Name: ipv4_chksum
  *
  * Description:
index 65422df..f76a97f 100644 (file)
@@ -3,15 +3,6 @@
 # see kconfig-language at https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt
 #
 
-config NET_ARCH_INCR32
-       bool "Architecture-specific net_incr32()"
-       default n
-       ---help---
-               Define if you architecture provided an optimized version of
-               net_incr32() with prototype:
-
-                       void net_incr32(FAR uint8_t *op32, uint16_t op16)
-
 config NET_ARCH_CHKSUM
        bool "Architecture-specific net_chksum()"
        default n