Hello there, Source code is prescale = 15; base = timer_base * (1 << prescale); divider = 65535; *nanosec = divider * base; timer_base seems to be 500 or 100. nanosec is a pointer to int, so it can only hold about 2,000,000,000 nanoseconds, or about 2 seconds. Suggest rework code to use longs. Regards David Binderman time-_Base seems to be 50 or 100. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel