aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorStephane Grosjean <[email protected]>2023-01-16 20:09:29 +0000
committerMarc Kleine-Budde <[email protected]>2023-02-02 17:39:23 +0100
commit36d007c6fc7962cb70ff4b1496d1e24f8b1c1300 (patch)
treeb3e417f2802c691d150703e02e075ee48c49ba39 /tools/perf/scripts/python/flamegraph.py
parente1bd882252439dae49c40cfe80997cde5955939f (diff)
can: peak_usb: add ethtool interface to user-configurable CAN channel identifier
This patch introduces 3 new functions implementing support for ethtool access to the CAN channel ID of all USB CAN network interfaces managed by the driver. With this patch, it is possible to read/write the CAN channel ID from/to the EEPROM via the ethtool interface. The CAN channel ID is a user-configurable device identifier that can be set individually for each CAN interface of a PEAK USB device. Depending on the device, the identifier has a length of 8 or 32 bit. The identifier is stored in the non-volatile memory of the device. The identifier of a CAN interface can be read/written as an 8 or 32 bit byte string in native (little-endian) byte order, where the length depends on the device type. Signed-off-by: Stephane Grosjean <[email protected]> Signed-off-by: Lukas Magel <[email protected]> Link: https://lore.kernel.org/all/[email protected] Signed-off-by: Marc Kleine-Budde <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions