]> git.karo-electronics.de Git - linux-beck.git/commit
can: add combined rx/tx LED trigger support
authorYegor Yefremov <yegorslists@googlemail.com>
Mon, 16 Mar 2015 08:38:13 +0000 (09:38 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sun, 22 Mar 2015 22:50:11 +0000 (23:50 +0100)
commitc54eb70e3bb8cd0d7b8564bedab63e834656c567
treea910f5408ea2f0bf9c7aab2d100348e14b5ce559
parentfba6f9117a3d87a269fc3b174127c99f25f4979e
can: add combined rx/tx LED trigger support

Add <ifname>-rxtx trigger, that will be activated both for tx
as rx events. This trigger mimics "activity" LED for Ethernet
devices.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/led.c
include/linux/can/dev.h
include/linux/can/led.h