linux/drivers/net/can
Jan Altenberg 4f2d56c45f can: c_can: Do basic c_can configuration _before_ enabling the interrupts
I ran into some trouble while testing the SocketCAN driver for the BOSCH
C_CAN controller. The interface is not correctly initialized, if I put
some CAN traffic on the line, _while_ the interface is being started
(which means: the interface doesn't come up correcty, if there's some RX
traffic while doing 'ifconfig can0 up').

The current implementation enables the controller interrupts _before_
doing the basic c_can configuration. I think, this should be done the
other way round.

The patch below fixes things for me.

Signed-off-by: Jan Altenberg <jan@linutronix.de>
Acked-by: Kurt Van Dijck <kurt.van.dijck@eia.be>
Acked-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-03-21 18:19:26 -07:00
..
c_can can: c_can: Do basic c_can configuration _before_ enabling the interrupts 2011-03-21 18:19:26 -07:00
mscan
sja1000
softing
usb
at91_can.c
bfin_can.c
dev.c
flexcan.c
janz-ican3.c
Kconfig
Makefile
mcp251x.c
pch_can.c
slcan.c
ti_hecc.c
vcan.c