]> rtime.felk.cvut.cz Git - sojka/can-utils.git/commit
can-calc-bit-timing: use algorithm from the kernel
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 20 Jul 2010 13:43:08 +0000 (13:43 +0000)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 20 Jul 2010 13:43:08 +0000 (13:43 +0000)
commitccd199739ec5ab7339c29b2dbe8049a7997980f3
tree818b8bf4edf0666a518365f250348542d3f01798
parentdaed6be02960da6bcfa5a86291324d48a07462ec
can-calc-bit-timing: use algorithm from the kernel

This patch copies the algorithm functions (can_update_spt and
can_calc_bittiming) from the kernel. Then some glue code is added that
these functions compile in userspace.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
can-calc-bit-timing.c