#endif
-const char trbnet_version[] = "$Revision: 4.5 $";
+const char trbnet_version[] = "$Revision: 4.6 $";
#include <stdlib.h>
#include <signal.h>
pexorDescriptor.reg_address = reg_address;
}
pexorDescriptor.arg0 = config;
- pexorDescriptor.arg1 = (unsigned long)data;
+ pexorDescriptor.arg1 = (unsigned long)(data + ctr);
pexorDescriptor.arg2 = len;
pexorDescriptor.command = PEXOR_TRBNETCOM_REG_WRITE_MEM;
pexorDescriptor.dma = pexor_dma;