This patch series adds support for a range of new Kvaser PCI Express devices based on the SmartFusion2 SoC, to the kvaser_pciefd driver. In the first patch, the hardware specific constants and functions are moved into a driver_data struct. In the second patch, we add the new devices and their hardware specific constants and functions. In the last patch, most of the register reading and writing + shifting and masking, are wrapped in macros, to simplify the functions. Note: This series depends on the changes in xxx Jimmy Assarsson (3): can: kvaser_pciefd: Move hardware specific constants and functions into a driver_data struct can: kvaser_pciefd: Add support for new Kvaser pciefd devices can: kvaser_pciefd: Wrap register read and writes with macros drivers/net/can/Kconfig | 5 + drivers/net/can/kvaser_pciefd.c | 678 ++++++++++++++++++++++---------- 2 files changed, 479 insertions(+), 204 deletions(-) -- 2.40.0