OpenCloudOS-Kernel/drivers/net/can
Sebastian Andrzej Siewior 8ce261d0bb can: flexcan: handle state passive -> warning transition
Once the CAN-bus is open and a packet is sent, the controller switches
into the PASSIVE state. Once the BUS is closed again it goes the back
err-warning. The TX error counter goes 0 -> 0x80 -> 0x7f.
This patch makes sure that the user learns about this state chang
(CAN_STATE_ERROR_WARNING => CAN_STATE_ERROR_PASSIVE)

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Matthias Klein <matthias.klein@optimeas.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2014-08-21 10:50:00 +02:00
..
c_can can: c_can: checking IS_ERR() instead of NULL 2014-08-21 10:49:59 +02:00
cc770 can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
mscan can: mscan: Fix Kconfig dependencies 2014-05-19 09:38:21 +02:00
sja1000 can: sja1000: Validate initialization state in start method 2014-08-21 10:49:34 +02:00
softing can: softing: remove unused sysfs attributes 2014-04-25 00:09:03 +02:00
spi can: mcp251x: fix coccinelle warnings 2014-05-19 09:38:07 +02:00
usb can: gs_usb: gs_destroy_candev(): fix use after free 2014-05-21 13:04:20 +02:00
Kconfig can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00
Makefile can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00
at91_can.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
bfin_can.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
dev.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
flexcan.c can: flexcan: handle state passive -> warning transition 2014-08-21 10:50:00 +02:00
grcan.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
janz-ican3.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
led.c can: only rename enabled led triggers when changing the netdev name 2014-05-27 15:05:41 +02:00
pch_can.c PCI: Remove DEFINE_PCI_DEVICE_TABLE macro use 2014-08-12 12:15:14 -06:00
rcar_can.c can: add Renesas R-Car CAN driver 2014-05-19 09:38:23 +02:00
slcan.c net: set name_assign_type in alloc_netdev() 2014-07-15 16:12:48 -07:00
ti_hecc.c can: Unify MTU settings for CAN interfaces 2014-03-17 09:20:16 +01:00
vcan.c can: add destructor for self generated skbs 2014-01-30 16:25:49 -08:00
xilinx_can.c can: xilinx CAN controller support 2014-05-26 09:36:31 +02:00