aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/m_can/m_can.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2015-01-27 19:59:56 -0500
committerDavid S. Miller <davem@davemloft.net>2015-01-27 19:59:56 -0500
commit95f873f2fff96c592c5d863e2a39825bd8bf0500 (patch)
tree0d2dd664964ba2c701aefea5b4d1e85b481045e1 /drivers/net/can/m_can/m_can.c
parent8ea65f4a2dfaaf494ef42a16cbf2fea39b07450f (diff)
parent59343cd7c4809cf7598789e1cd14563780ae4239 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: arch/arm/boot/dts/imx6sx-sdb.dts net/sched/cls_bpf.c Two simple sets of overlapping changes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/can/m_can/m_can.c')
-rw-r--r--drivers/net/can/m_can/m_can.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/can/m_can/m_can.c b/drivers/net/can/m_can/m_can.c
index b2ecb6c5e94b..2e04b3aeeb37 100644
--- a/drivers/net/can/m_can/m_can.c
+++ b/drivers/net/can/m_can/m_can.c
@@ -956,6 +956,11 @@ static struct net_device *alloc_m_can_dev(void)
956 priv->can.data_bittiming_const = &m_can_data_bittiming_const; 956 priv->can.data_bittiming_const = &m_can_data_bittiming_const;
957 priv->can.do_set_mode = m_can_set_mode; 957 priv->can.do_set_mode = m_can_set_mode;
958 priv->can.do_get_berr_counter = m_can_get_berr_counter; 958 priv->can.do_get_berr_counter = m_can_get_berr_counter;
959
960 /* CAN_CTRLMODE_FD_NON_ISO is fixed with M_CAN IP v3.0.1 */
961 priv->can.ctrlmode = CAN_CTRLMODE_FD_NON_ISO;
962
963 /* CAN_CTRLMODE_FD_NON_ISO can not be changed with M_CAN IP v3.0.1 */
959 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK | 964 priv->can.ctrlmode_supported = CAN_CTRLMODE_LOOPBACK |
960 CAN_CTRLMODE_LISTENONLY | 965 CAN_CTRLMODE_LISTENONLY |
961 CAN_CTRLMODE_BERR_REPORTING | 966 CAN_CTRLMODE_BERR_REPORTING |