From c1756d1ccbdd261463620ebd6ce0da02d070198d Mon Sep 17 00:00:00 2001 From: michael Date: Wed, 14 Mar 2007 09:43:12 +0000 Subject: [PATCH] create device node --- dhwk/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhwk/Makefile b/dhwk/Makefile index 8eb21b5..f63f36c 100644 --- a/dhwk/Makefile +++ b/dhwk/Makefile @@ -19,7 +19,7 @@ dhwk_fifo.ngc: fifo.xco -rmdir -p tmp/_cg test: - grep -q dhwk /proc/modules || (cd driver; ./build; sudo insmod dhwk.ko) + grep -q dhwk /proc/modules || (cd driver; ./build; sudo insmod dhwk.ko; sudo mknod -m 666 /dev/dhwk c 42 0) dd if=/dev/urandom of=/tmp/in bs=1024 count=1024 (dd if=/dev/dhwk of=/tmp/out bs=1024 count=1024; md5sum /tmp/in /tmp/out)& dd if=/tmp/in of=/dev/dhwk bs=1024 count=1024 -- 2.39.2