linux-stable/drivers/net/can/sja1000
Oliver Hartkopp c971fa2ae4 can: Unify MTU settings for CAN interfaces
CAN interfaces only support MTU values of 16 (CAN 2.0) and 72 (CAN FD).
Setting the MTU to other values is pointless but it does not really hurt.
With the introduction of the CAN FD support in drivers/net/can a new
function to switch the MTU for CAN FD has been introduced.

This patch makes use of this can_change_mtu() function to check for correct
MTU settings also in legacy CAN (2.0) devices.

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-03-17 09:20:16 +01:00
..
ems_pci.c can: Fix FSF address in file headers 2013-12-17 11:47:21 +01:00
ems_pcmcia.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
Kconfig can: sja1000: fuse of_platform into platform 2014-02-04 10:10:51 +01:00
kvaser_pci.c can: Fix FSF address in file headers 2013-12-17 11:47:21 +01:00
Makefile can: sja1000: fuse of_platform into platform 2014-02-04 10:10:51 +01:00
peak_pci.c can: sja1000: remove unnecessary pci_set_drvdata() 2013-09-21 15:43:16 +02:00
peak_pcmcia.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2013-05-01 14:08:52 -07:00
plx_pci.c can: sja1000: add support for Elcus CAN200PCI 2014-01-11 19:43:16 +01:00
sja1000.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
sja1000.h can: sja1000: use common prefix for all sja1000 defines 2013-04-16 12:39:14 +02:00
sja1000_isa.c can: Fix FSF address in file headers 2013-12-17 11:47:21 +01:00
sja1000_platform.c can: sja1000: of: add reg-io-width property for 8, 16 and 32-bit register access 2014-02-06 11:50:57 +01:00
tscan1.c can: remove __dev* attributes 2012-12-03 11:16:11 -08:00