mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
IOBs: Move from driver/iob to a better location in mm/iob
This commit is contained in:
+1
-1
@@ -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
@@ -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);
|
||||
|
||||
@@ -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 */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user