summaryrefslogtreecommitdiffstats
path: root/freebsd/sys/net/if_edsc.c
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-09 22:52:54 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2013-10-10 09:08:23 +0200
commite599318e912d8836c59d8b5202e3e31a6b8dcae9 (patch)
tree1172b8b830a1c3236e45c834c2b80e01325ea144 /freebsd/sys/net/if_edsc.c
parentMove files to match FreeBSD layout (diff)
downloadrtems-libbsd-e599318e912d8836c59d8b5202e3e31a6b8dcae9.tar.bz2
Update files to match FreeBSD layout
Add compatibility with Newlib header files. Some FreeBSD header files are mapped by the translation script: o rtems/bsd/sys/_types.h o rtems/bsd/sys/errno.h o rtems/bsd/sys/lock.h o rtems/bsd/sys/param.h o rtems/bsd/sys/resource.h o rtems/bsd/sys/time.h o rtems/bsd/sys/timespec.h o rtems/bsd/sys/types.h o rtems/bsd/sys/unistd.h It is now possible to include <sys/socket.h> directly for example. Generate one Makefile which builds everything including tests.
Diffstat (limited to 'freebsd/sys/net/if_edsc.c')
-rw-r--r--freebsd/sys/net/if_edsc.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/freebsd/sys/net/if_edsc.c b/freebsd/sys/net/if_edsc.c
index 89618ce5..71160354 100644
--- a/freebsd/sys/net/if_edsc.c
+++ b/freebsd/sys/net/if_edsc.c
@@ -1,4 +1,4 @@
-#include <freebsd/machine/rtems-bsd-config.h>
+#include <machine/rtems-bsd-config.h>
/*-
* Copyright (c) 1982, 1986, 1993
@@ -37,21 +37,21 @@
* Mimics an Ethernet device so that VLANs can be attached to it etc.
*/
-#include <freebsd/sys/param.h> /* types, important constants */
-#include <freebsd/sys/kernel.h> /* SYSINIT for load-time initializations */
-#include <freebsd/sys/malloc.h> /* malloc(9) */
-#include <freebsd/sys/module.h> /* module(9) */
-#include <freebsd/sys/mbuf.h> /* mbuf(9) */
-#include <freebsd/sys/socket.h> /* struct ifreq */
-#include <freebsd/sys/sockio.h> /* socket ioctl's */
-/* #include <freebsd/sys/systm.h> if you need printf(9) or other all-purpose globals */
-
-#include <freebsd/net/bpf.h> /* bpf(9) */
-#include <freebsd/net/ethernet.h> /* Ethernet related constants and types */
-#include <freebsd/net/if.h> /* basic part of ifnet(9) */
-#include <freebsd/net/if_clone.h> /* network interface cloning */
-#include <freebsd/net/if_types.h> /* IFT_ETHER and friends */
-#include <freebsd/net/if_var.h> /* kernel-only part of ifnet(9) */
+#include <rtems/bsd/sys/param.h> /* types, important constants */
+#include <sys/kernel.h> /* SYSINIT for load-time initializations */
+#include <sys/malloc.h> /* malloc(9) */
+#include <sys/module.h> /* module(9) */
+#include <sys/mbuf.h> /* mbuf(9) */
+#include <sys/socket.h> /* struct ifreq */
+#include <sys/sockio.h> /* socket ioctl's */
+/* #include <sys/systm.h> if you need printf(9) or other all-purpose globals */
+
+#include <net/bpf.h> /* bpf(9) */
+#include <net/ethernet.h> /* Ethernet related constants and types */
+#include <net/if.h> /* basic part of ifnet(9) */
+#include <net/if_clone.h> /* network interface cloning */
+#include <net/if_types.h> /* IFT_ETHER and friends */
+#include <net/if_var.h> /* kernel-only part of ifnet(9) */
/*
* Software configuration of an interface specific to this device type.