mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 07:12:54 +08:00
Move include/nuttx/net/iob.h to include/drivers/iob.h; rename CONFIG_NET_IOB to CONFIG_DRIVERS_IOB
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user