[PATCH 0/7] can: peak_usb: Introduce configurable user dev id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series of patches introduces the user device id for the PEAK USB
CAN interfaces. The id can be read/written via ethtool and is exposed as
a read-only attribute via sysfs. This allows users to set the id via
ethtool and write udev rules to match against the sysfs attribute.

Most of the patches were originally introduced by Stéphane Grosjean and
have only been modified slightly. See the following threads for the
original patches:

* https://lore.kernel.org/linux-can/20220128150157.1222850-1-s.grosjean@xxxxxxxxxxxxxxx/T/#mad8014c9f1c89a50d5944a50ae0a585edec79eab
* https://lore.kernel.org/linux-can/20211117150132.37056-1-s.grosjean@xxxxxxxxxxxxxxx/T/#mbf1d7db8433734a1fe08868d79f9927a04fe7ffe

Stéphane Grosjean (5):
  can: peak_usb: rename device_id to a more explicit name
  can: peak_usb: add callback to read user value of CANFD
  can: peak_usb: allow flashing of the user device id
  can: peak_usb: replace unregister_netdev() with
  can: peak_usb: add ethtool interface to user defined

Lukas Magel (2):
  can: peak_usb: export PCAN user device ID as sysfs device
  can: peak_usb: align user device id format in log with

 .../ABI/testing/sysfs-class-net-peak_usb        |  15 +++
 drivers/net/can/usb/peak_usb/pcan_usb.c         |  43 ++++++-
 drivers/net/can/usb/peak_usb/pcan_usb_core.c    | 119 +++++++++++++++++--
 drivers/net/can/usb/peak_usb/pcan_usb_core.h    |  11 +-
 drivers/net/can/usb/peak_usb/pcan_usb_fd.c      |  64 +++++++++-
 drivers/net/can/usb/peak_usb/pcan_usb_pro.c     |  26 +++-
 drivers/net/can/usb/peak_usb/pcan_usb_pro.h     |   1 +
 7 files changed, 254 insertions(+), 25 deletions(-)





[Index of Archives]     [Automotive Discussions]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]     [CAN Bus]

  Powered by Linux