]> git.zerfleddert.de Git - raggedstone/commitdiff
create device node
authormichael <michael>
Wed, 14 Mar 2007 09:43:12 +0000 (09:43 +0000)
committermichael <michael>
Wed, 14 Mar 2007 09:43:12 +0000 (09:43 +0000)
dhwk/Makefile

index 8eb21b5c83bf83dc13e4af3aee048c0fca5bbf8f..f63f36c9255588296e8be79d90c440cf3715e1bd 100644 (file)
@@ -19,7 +19,7 @@ dhwk_fifo.ngc: fifo.xco
        -rmdir -p tmp/_cg
 
 test:
        -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
        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
Impressum, Datenschutz