diff --git a/kernel/init.c b/kernel/init.c index 17b31c37..29885661 100644 --- a/kernel/init.c +++ b/kernel/init.c @@ -31,6 +31,7 @@ #include #include #include +#include #include #include #include @@ -116,7 +117,7 @@ int STDCALL network_task(void* arg) // start echo and ping server echo_init(); - //ping_init(); + ping_init(); while(!done) { #ifdef CONFIG_PCI @@ -142,11 +143,16 @@ int network_shutdown(void) return 0; } +static void tcp_init_ok(void* e) +{ + kprintf("TCP/IP init COMPLETE!!"); +} + int network_init(void) { #if defined(CONFIG_LWIP) // Initialize lwIP modules - lwip_init(); + tcpip_init(tcp_init_ok, NULL); #endif #if defined(CONFIG_LWIP) && (defined(CONFIG_PCI) || defined(CONFIG_ROCKCREEK))