[PATCH can-next 0/7] can: peak_usb: fixes, cleanups, bus error reporting and loopback mode
From: Marc Kleine-Budde
Date: Fri Oct 02 2026 - 04:16:33 EST
Hello,
this series aggregates the peak_usb patches waiting for net-next by Stefan
Günther and Stéphane Grosjean, plus 2 cleanup patches by me.
This series adds the missing CAN_ERR_FLAG when reporting error counters,
the cleans up the driver and adds bus error reporting and loopback mode.
regards,
Marc
Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
---
Marc Kleine-Budde (2):
can: peak_usb: add missing includes
can: peak_usb: sort struct peak_usb_adapter::ctrlmode_supported by value
Stefan Günther (1):
can: peak_usb: fix missing CAN_ERR_FLAG when reporting error counters
Stéphane Grosjean (4):
can: peak_usb: Add PCAN-USB bus errors reporting
can: peak_usb: Sort CAN_CTRLMODE flags by value
can: peak_usb: Add bus error reporting for the PCAN-USB FD family
can: peak_usb: Add support of loopback mode to the PCAN-USB FD family
drivers/net/can/usb/peak_usb/pcan_usb.c | 120 +++++++++++++++++++++----
drivers/net/can/usb/peak_usb/pcan_usb_core.h | 6 ++
drivers/net/can/usb/peak_usb/pcan_usb_fd.c | 125 +++++++++++++++++++++++----
include/linux/can/dev/peak_canfd.h | 15 +++-
4 files changed, 228 insertions(+), 38 deletions(-)
---
base-commit: eb0c18404c8943356f4aa164e5db9067b79ea93c
change-id: 20261001-peak_usb_enhancements-f4a35b7bfd76
Best regards,
--
Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>