[PATCH v2 00/10] can: kvaser_pciefd: Simplify identification of physical CAN interfaces
From: Jimmy Assarsson <hidden>
Date: 2025-07-24 06:37:21
Also in:
linux-can
This patch series simplifies the process of identifying which network
interface (can0..canX) corresponds to which physical CAN channel on
Kvaser PCIe based CAN interfaces.
Changes in v2:
- Replace use of netdev.dev_id with netdev.dev_port
- Formatting and refactoring
- New patch with devlink documentation
Jimmy Assarsson (10):
can: kvaser_pciefd: Add support to control CAN LEDs on device
can: kvaser_pciefd: Add support for ethtool set_phys_id()
can: kvaser_pciefd: Add intermediate variable for device struct in
probe()
can: kvaser_pciefd: Store the different firmware version components in
a struct
can: kvaser_pciefd: Store device channel index
can: kvaser_pciefd: Split driver into C-file and header-file.
can: kvaser_pciefd: Add devlink support
can: kvaser_pciefd: Expose device firmware version via devlink
info_get()
can: kvaser_pciefd: Add devlink port support
Documentation: devlink: add devlink documentation for the
kvaser_pciefd driver
Documentation/networking/devlink/index.rst | 1 +
.../networking/devlink/kvaser_pciefd.rst | 24 +++
drivers/net/can/Kconfig | 1 +
drivers/net/can/Makefile | 2 +-
drivers/net/can/kvaser_pciefd/Makefile | 3 +
drivers/net/can/kvaser_pciefd/kvaser_pciefd.h | 96 ++++++++++++
.../kvaser_pciefd_core.c} | 144 +++++++++---------
.../can/kvaser_pciefd/kvaser_pciefd_devlink.c | 61 ++++++++
8 files changed, 258 insertions(+), 74 deletions(-)
create mode 100644 Documentation/networking/devlink/kvaser_pciefd.rst
create mode 100644 drivers/net/can/kvaser_pciefd/Makefile
create mode 100644 drivers/net/can/kvaser_pciefd/kvaser_pciefd.h
rename drivers/net/can/{kvaser_pciefd.c => kvaser_pciefd/kvaser_pciefd_core.c} (96%)
create mode 100644 drivers/net/can/kvaser_pciefd/kvaser_pciefd_devlink.c
--
2.49.0