History log of /linux-master/drivers/net/can/slcan/Makefile
Revision Date Author Comments
# 4de0e8ef 28-Jun-2022 Dario Binacchi <dario.binacchi@amarulasolutions.com>

can: slcan: add ethtool support to reset adapter errors

This patch adds a private flag to the slcan driver to switch the
"err-rst-on-open" setting on and off.

"err-rst-on-open" on - Reset error states on opening command

"err-rst-on-open" off - Don't reset error states on opening command
(default)

The setting can only be changed if the interface is down:

ip link set dev can0 down
ethtool --set-priv-flags can0 err-rst-on-open {off|on}
ip link set dev can0 up

Link: https://lore.kernel.org/all/20220628163137.413025-11-dario.binacchi@amarulasolutions.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>


# 98b12064 28-Jun-2022 Dario Binacchi <dario.binacchi@amarulasolutions.com>

can: slcan: move driver into separate sub directory

This patch moves the slcan driver into a separate directory, a later
patch will add more files.

Link: https://lore.kernel.org/all/20220628163137.413025-10-dario.binacchi@amarulasolutions.com
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>