Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB

This commit is contained in:
Gregory Nutt
2017-04-20 14:53:30 -06:00
parent d0ec395c42
commit bcc6b61fc1
139 changed files with 2343 additions and 393 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ endif
# I/O buffer chain support required?
ifeq ($(CONFIG_NET_IOB),y)
ifeq ($(CONFIG_DRIVERS_IOB),y)
NET_CSRCS += devif_iobsend.c
endif
+1 -1
View File
@@ -466,7 +466,7 @@ void devif_send(FAR struct net_driver_s *dev, FAR const void *buf, int len);
*
****************************************************************************/
#ifdef CONFIG_NET_IOB
#ifdef CONFIG_DRIVERS_IOB
struct iob_s;
void devif_iob_send(FAR struct net_driver_s *dev, FAR struct iob_s *buf,
unsigned int len, unsigned int offset);
+3 -3
View File
@@ -43,10 +43,10 @@
#include <assert.h>
#include <debug.h>
#include <nuttx/net/iob.h>
#include <nuttx/drivers/iob.h>
#include <nuttx/net/netdev.h>
#ifdef CONFIG_NET_IOB
#ifdef CONFIG_DRIVERS_IOB
/****************************************************************************
* Pre-processor Definitions
@@ -113,5 +113,5 @@ void devif_iob_send(FAR struct net_driver_s *dev, FAR struct iob_s *iob,
#endif
}
#endif /* CONFIG_NET_IOB */
#endif /* CONFIG_DRIVERS_IOB */