Module: xenomai-gch
Branch: stable-3.0.x
Commit: a921ff41e4a3bc526a262135f53d39b298a576ca
URL:    
http://git.xenomai.org/?p=xenomai-gch.git;a=commit;h=a921ff41e4a3bc526a262135f53d39b298a576ca

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Sun Jan 24 15:56:58 2016 +0100

drivers/net: move corectl to net drivers directory

---

 kernel/cobalt/posix/Makefile                                       |    1 -
 kernel/drivers/net/stack/Makefile                                  |    4 +++-
 .../{cobalt/posix/rtnet_corectl.c => drivers/net/stack/corectl.c}  |    2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/kernel/cobalt/posix/Makefile b/kernel/cobalt/posix/Makefile
index 0b74359..f194bff 100644
--- a/kernel/cobalt/posix/Makefile
+++ b/kernel/cobalt/posix/Makefile
@@ -15,7 +15,6 @@ xenomai-y :=          \
        mutex.o         \
        nsem.o          \
        process.o       \
-       rtnet_corectl.o \
        sched.o         \
        sem.o           \
        signal.o        \
diff --git a/kernel/drivers/net/stack/Makefile 
b/kernel/drivers/net/stack/Makefile
index b55ac15..508d487 100644
--- a/kernel/drivers/net/stack/Makefile
+++ b/kernel/drivers/net/stack/Makefile
@@ -1,4 +1,6 @@
-ccflags-y += -Idrivers/xenomai/net/stack/include
+ccflags-y += -Idrivers/xenomai/net/stack/include -Ikernel/
+
+obj-y += corectl.o
 
 obj-$(CONFIG_XENO_DRIVERS_NET_RTIPV4) += ipv4/
 
diff --git a/kernel/cobalt/posix/rtnet_corectl.c 
b/kernel/drivers/net/stack/corectl.c
similarity index 98%
rename from kernel/cobalt/posix/rtnet_corectl.c
rename to kernel/drivers/net/stack/corectl.c
index 8153d3c..2f6f179 100644
--- a/kernel/cobalt/posix/rtnet_corectl.c
+++ b/kernel/drivers/net/stack/corectl.c
@@ -16,7 +16,7 @@
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  */
 #include <asm/xenomai/syscall.h>
-#include "corectl.h"
+#include <xenomai/posix/corectl.h>
 
 static int
 rtnet_corectl_call(struct notifier_block *self, unsigned long arg, void 
*cookie)


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://xenomai.org/mailman/listinfo/xenomai-git

Reply via email to