linux/drivers/net/can/usb
Jimmy Assarsson bd5908c1f6 can: kvaser_usb: Assign netdev.dev_port based on device channel index
[ Upstream commit c151b06a08 ]

Assign netdev.dev_port based on the device channel index, to indicate the
port number of the network device.
While this driver already uses netdev.dev_id for that purpose, dev_port is
more appropriate. However, retain dev_id to avoid potential regressions.

Fixes: 3e66d0138c ("can: populate netdev::dev_id for udev discrimination")
Reviewed-by: Vincent Mailhol <mailhol.vincent@wanadoo.fr>
Signed-off-by: Jimmy Assarsson <extja@kvaser.com>
Link: https://patch.msgid.link/20250725123452.41-4-extja@kvaser.com
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-08-15 12:13:47 +02:00
..
etas_es58x can: etas_es58x: fix potential NULL pointer dereference on udev->serial 2025-02-21 14:01:33 +01:00
kvaser_usb can: kvaser_usb: Assign netdev.dev_port based on device channel index 2025-08-15 12:13:47 +02:00
peak_usb can: peak_usb: fix USB FD devices potential malfunction 2025-08-15 12:13:47 +02:00
ems_usb.c can: ems_usb: ems_usb_rx_err(): fix {rx,tx}_errors statistics 2024-12-14 20:03:02 +01:00
esd_usb.c can: esd_usb: Remove CAN_CTRLMODE_3_SAMPLES for CAN-USB/3-FD 2024-09-12 09:40:09 +02:00
f81604.c can: f81604: f81604_handle_can_bus_errors(): fix {rx,tx}_errors statistics 2024-12-14 20:03:02 +01:00
gs_usb.c can: gs_usb: add usb endpoint address detection at driver probe step 2024-12-14 20:03:01 +01:00
Kconfig can: usb: Kconfig: Fix list of devices for esd_usb driver 2024-09-11 10:46:53 +02:00
Makefile can: usb: f81604: add Fintek F81604 support 2023-05-15 22:53:49 +02:00
mcba_usb.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ucan.c can: ucan: fix out of bound read in strscpy() source 2025-03-28 22:03:28 +01:00
usb_8dev.c can: dev: fix skb drop check 2022-11-07 14:00:27 +01:00