summaryrefslogtreecommitdiff
path: root/dde_e100
diff options
context:
space:
mode:
Diffstat (limited to 'dde_e100')
-rw-r--r--dde_e100/Makefile2
-rw-r--r--dde_e100/main.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/dde_e100/Makefile b/dde_e100/Makefile
index fb1ed61e..27504068 100644
--- a/dde_e100/Makefile
+++ b/dde_e100/Makefile
@@ -10,7 +10,7 @@ TARGET = dde_e100
SRC_C = main.c e100.c
LIBS += ../libmachdev/libmachdev.a -ldde_linux26.o -ldde_linux26_net ../libddekit/libddekit.a -lfshelp -ltrivfs -lpciaccess -lthreads -lshouldbeinlibc -lports -lhurd-slab
-CFLAGS += -g
+CFLAGS += -g -I/include
# DDE configuration
include $(L4DIR)/Makeconf
diff --git a/dde_e100/main.c b/dde_e100/main.c
index 8f04bfeb..98f4452a 100644
--- a/dde_e100/main.c
+++ b/dde_e100/main.c
@@ -6,13 +6,12 @@
#include <linux/init.h> // initcall()
#include <linux/delay.h> // msleep()
-int using_std = 1;
+#include <hurd/machdev.h>
-void netif_rx_handle (char *data, int len, struct net_device *dev);
+int using_std = 1;
int main(int argc, char **argv)
{
- extern void ds_server(void);
l4dde26_init();
l4dde26_process_init();
l4dde26_softirq_init();
@@ -22,6 +21,7 @@ int main(int argc, char **argv)
l4dde26_do_initcalls();
+ register_net();
mach_device_init();
trivfs_init();