linux/drivers/net/can
Oliver Hartkopp 2e11437427 candev: allow SJW user setting for bittiming calculation
This patch adds support for SJW user settings to not set the synchronization
jump width (SJW) to 1 in any case when using the in-kernel bittiming
calculation.

The ip-tool from iproute2 already supports to pass the user defined SJW
value. The given SJW value is sanitized with the controller specific sjw_max
and the calculated tseg2 value. As the SJW can have values up to 4 providing
this value will lead to the maximum possible SJW automatically. A higher SJW
allows higher controller oscillator tolerances.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-28 13:41:51 -04:00
..
c_can can: c_can: remove duplicated #include 2011-07-23 20:01:15 -07:00
mscan net/can/mscan: add __iomem annotations 2011-08-15 12:52:20 +02:00
sja1000 can/sja1000: add driver for EMS PCMCIA card 2011-09-28 13:41:50 -04:00
softing Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-07-25 13:56:39 -07:00
usb Fix common misspellings 2011-03-31 11:26:23 -03:00
at91_can.c can: at91_can: add support for the AT91SAM9X5 SOCs 2011-06-06 14:50:57 +02:00
bfin_can.c can: bfin_can: auto-calculate accessor sizes 2011-06-27 20:42:24 -07:00
dev.c candev: allow SJW user setting for bittiming calculation 2011-09-28 13:41:51 -04:00
flexcan.c flexcan: Prefer device tree clock frequency if available. 2011-08-17 20:36:38 -07:00
janz-ican3.c net: remove mm.h inclusion from netdevice.h 2011-06-21 19:17:20 -07:00
Kconfig Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-07-05 23:23:37 -07:00
Makefile can: c_can: Added support for Bosch C_CAN controller 2011-02-13 22:51:44 -08:00
mcp251x.c can: mcp251x: Allow pass IRQ flags through platform data. 2011-04-06 12:24:26 -07:00
pch_can.c treewide: fix a few typos in comments 2011-05-10 10:16:21 +02:00
slcan.c slcan: ldisc generated skbs are received in softirq context 2011-08-11 05:52:57 -07:00
ti_hecc.c can: ti_hecc: include linux/io.h 2011-09-16 19:21:27 -04:00
vcan.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00