From: michael Date: Wed, 14 Mar 2007 09:43:12 +0000 (+0000) Subject: create device node X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/raggedstone/commitdiff_plain/c1756d1ccbdd261463620ebd6ce0da02d070198d create device node --- 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