commit 5940c0d7f4db686ed405b2212295079af6a942f6
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Jul 25 13:18:27 2020 +0200

    Update to new libmachdev initialization API
    
    We do not support running as a bootstrap translator yet.

commit 5fb997c779d89e0db39892f85c977825a86d32eb
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sat Nov 14 12:35:28 2020 +0100

    netdde: update machdev_trivfs_init call

Index: netdde/machdev.c
===================================================================
--- netdde.orig/machdev.c
+++ netdde/machdev.c
@@ -2,11 +2,13 @@
 #include <hurd/machdev.h>
 #include <hurd/machdevdde.h>
 
+static mach_port_t bootstrap = MACH_PORT_NULL;
+
 void machdev_init(void)
 {
 	machdevdde_register_net();
 	machdev_device_init();
-	machdev_trivfs_init();
+	machdev_trivfs_init(MACH_PORT_NULL, "netdde", NULL, &bootstrap);
 }
 
 void machdev_run1 (void *arg)
@@ -16,5 +18,5 @@ void machdev_run1 (void *arg)
 
 void machdev_run2(void)
 {
-	machdev_trivfs_server();
+	machdev_trivfs_server(bootstrap);
 }
commit 1b606146771feaabebebecbec3d0bfb515403bbf
Author: Damien Zammit <damien@zamaudio.com>
Date:   Tue Mar 2 22:21:52 2021 +0100

    Let server threads run
    
    main.c (main): Call pthread_exit(NULL) to let server threads continue.

diff --git a/main.c b/main.c
index a725cf2da..6f748bd0b 100644
--- a/main.c
+++ b/main.c
@@ -29,5 +29,8 @@ int main(int argc, char **argv)
 	ddekit_thread_create (machdev_run1, NULL, "ds_server");
 	machdev_run2();
 
+	/* Let the other threads do their job */
+	pthread_exit(NULL);
+
 	return 0;
 }
commit f1f548d9a43749fd25ff823fcccb50479471a58c
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date:   Sun Apr 4 16:21:08 2021 +0200

    netdde: update machdev_trivfs_init call

diff --git a/machdev.c b/machdev.c
index 9247e94ce..dda5eb8ba 100644
--- a/machdev.c
+++ b/machdev.c
@@ -4,11 +4,11 @@
 
 static mach_port_t bootstrap = MACH_PORT_NULL;
 
-void machdev_init(void)
+void machdev_init(int argc, char **argv)
 {
 	machdevdde_register_net();
 	machdev_device_init();
-	machdev_trivfs_init(MACH_PORT_NULL, "netdde", NULL, &bootstrap);
+	machdev_trivfs_init(argc, argv, MACH_PORT_NULL, "netdde", NULL, &bootstrap);
 }
 
 void machdev_run1 (void *arg)
diff --git a/machdev.h b/machdev.h
index 043c13aff..31b28c356 100644
--- a/machdev.h
+++ b/machdev.h
@@ -1,6 +1,6 @@
 #ifndef MACHDEV_H
 #define MACHDEV_H
-void machdev_init(void);
+void machdev_init(int argc, char **argv);
 void machdev_run1(void *arg);
 void machdev_run2(void);
 #endif /* MACHDEV_H */
diff --git a/main.c b/main.c
index 6f748bd0b..ec764056a 100644
--- a/main.c
+++ b/main.c
@@ -24,7 +24,7 @@ int main(int argc, char **argv)
 
 	l4dde26_do_initcalls();
 
-	machdev_init();
+	machdev_init(argc, argv);
 
 	ddekit_thread_create (machdev_run1, NULL, "ds_server");
 	machdev_run2();
