]> rtime.felk.cvut.cz Git - socketcan-devel.git/commit
can-calc-bit-timing: use algorithm from the kernel
authorbet-frogger <bet-frogger@030b6a49-0b11-0410-94ab-b0dab22257f2>
Tue, 20 Jul 2010 13:43:08 +0000 (13:43 +0000)
committerbet-frogger <bet-frogger@030b6a49-0b11-0410-94ab-b0dab22257f2>
Tue, 20 Jul 2010 13:43:08 +0000 (13:43 +0000)
commit16713046ea14e12f8a939ae99d6d74d2fa73f303
tree367ee1dc136cd581e68902585a00b4aebc9a61c2
parentb82c5e52fa41c01b677a2583c8ab7d174c5fa70e
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>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1186 030b6a49-0b11-0410-94ab-b0dab22257f2
can-utils/can-calc-bit-timing.c