added device discovery
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 6 Nov 2008 11:05:19 +0000 (11:05 +0000)
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 6 Nov 2008 11:05:19 +0000 (11:05 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@1141 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/ecosboard.c

index 37b33215d7e5a7eadcdd1c053276dbe14a8886c7..7cab4879b2cd9f78096ff6b5e098b4fc055344fe 100644 (file)
@@ -59,6 +59,7 @@
 #include <cyg/athttpd/handler.h>
 #include <cyg/athttpd/cgi.h>
 #include <cyg/athttpd/forms.h>
+#include <cyg/discover/discover.h>
 #include <cyg/hal/hal_diag.h>
 #include <cyg/kernel/kapi.h>
 #include <cyg/io/serialio.h>
@@ -80,6 +81,7 @@
 #include <ifaddrs.h>
 #include <string.h>
 
+
 #include <unistd.h>
 #include <stdio.h>
 #define MAX_IFS 64
@@ -1334,6 +1336,8 @@ static void zylinjtag_startNetwork()
        webRunning = true;
 
        diag_printf("Web server running\n");
+
+       discover_launch();
 }