can: peak_usb: add support of ethtool set_phys_id()
authorStephane Grosjean <s.grosjean@peak-system.com>
Tue, 9 Mar 2021 08:21:26 +0000 (09:21 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 30 Mar 2021 09:14:47 +0000 (11:14 +0200)
commita7e8511ffda6a81ba6b49c22d0ed296caeff438c
treef87a21d1148fac74a3bcc2cb51ced63a54796d9f
parentcfe2a4ca1e0691c3e1f899e04e883c3d584e89fd
can: peak_usb: add support of ethtool set_phys_id()

This patch makes it possible to specifically flash the LED of a CAN
port of the CAN-USB interfaces of PEAK-System.

Link: https://lore.kernel.org/r/20210309122141.3276927-1-mkl@pengutronix.de
Signed-off-by: Stephane Grosjean <s.grosjean@peak-system.com>
[mkl: use common prefix PCAN_ for defines]
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/usb/peak_usb/pcan_usb.c
drivers/net/can/usb/peak_usb/pcan_usb_core.c
drivers/net/can/usb/peak_usb/pcan_usb_core.h
drivers/net/can/usb/peak_usb/pcan_usb_fd.c
drivers/net/can/usb/peak_usb/pcan_usb_pro.c
drivers/net/can/usb/peak_usb/pcan_usb_pro.h