]> rtime.felk.cvut.cz Git - mf6xx.git/commitdiff
More tests needed, but the test.c example now works in same way as before without UIO
authorRostislav Lisovy <lisovy@gmail.com>
Thu, 10 Mar 2011 14:35:41 +0000 (15:35 +0100)
committerRostislav Lisovy <lisovy@gmail.com>
Thu, 10 Mar 2011 14:35:41 +0000 (15:35 +0100)
src/HuLinux-2.4.3/opendevh.c
src/HuLinux-2.4.3/resources.c

index bd8efe4d9a5cbec09dde91f1fde4e2ea6b7379a6..d105e1c3ad29d3b8285e4140c744186e4706fe4e 100644 (file)
@@ -127,7 +127,7 @@ static int ScanSys(DWORD DeviceID, int deviceorder, DriverRecord *Rec)
 
                if(DeviceID == (device_id + (vendor_id << 16)))
                {
-                       printf("DEVICE HAS BEEN FOUND!\n");
+                       //printf("DEVICE HAS BEEN FOUND!\n");
                        if(--deviceorder < 1)
                        {
                                for(i = 0; i < 7; i++)
index 7c962fe638e3cb4c588a95b208e7f0471368c2ab..666ef2d816dcf1971c9e403cf85b8f5905b71eef 100644 (file)
@@ -238,7 +238,7 @@ HUDAQHANDLE HUDAQAPI HudaqOpenDevice(const char* devicename, int deviceorder, in
        devrecord->DrvRes.DriverData = calloc(1, 1024); //!!!! THIS SHOULD BE SHARED !!!!\r
        devrecord->DrvRes.DriverDataSize = 1024;\r
 \r
-       /*\r
+       \r
        switch(InternalResetDevice(devrecord, shareflag))\r
        {\r
                case HUDAQSUCCESS: break;  // everything is OK\r
@@ -248,7 +248,7 @@ HUDAQHANDLE HUDAQAPI HudaqOpenDevice(const char* devicename, int deviceorder, in
                                   HudaqCloseDevice((HUDAQHANDLE) devrecord);\r
                                   return(0);\r
        }\r
-       */\r
+\r
 \r
        return((HUDAQHANDLE) devrecord);\r
 }\r