IOBs: Move from driver/iob to a better location in mm/iob

This commit is contained in:
Gregory Nutt
2017-05-09 07:34:59 -06:00
parent 407fed41ef
commit 2043e1a114
170 changed files with 238 additions and 223 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ endif
# I/O buffer chain support required?
ifeq ($(CONFIG_DRIVERS_IOB),y)
ifeq ($(CONFIG_MM_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_DRIVERS_IOB
#ifdef CONFIG_MM_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/drivers/iob.h>
#include <nuttx/mm/iob.h>
#include <nuttx/net/netdev.h>
#ifdef CONFIG_DRIVERS_IOB
#ifdef CONFIG_MM_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_DRIVERS_IOB */
#endif /* CONFIG_MM_IOB */