vcan: add CAN FD support
authorOliver Hartkopp <socketcan@hartkopp.net>
Wed, 13 Jun 2012 18:56:59 +0000 (20:56 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 19 Jun 2012 19:40:20 +0000 (21:40 +0200)
commit41052ef6dfe90e7639103a010f49d13dadc55a28
treef0e4a8230dd94ea76f1a7255c10fea6aa708a6f2
parent1e0625facab2e871472472b7df87d8fbe6caf75a
vcan: add CAN FD support

- move the length calculation from dlc to real length (using canfd_frame)
- allow to switch the driver between CAN and CAN FD (change of MTU)

Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/vcan.c