Skip to content

Commit af1752e

Browse files
kvmajomarckleinebudde
authored andcommitted
can: kvaser_pciefd: Add additional Xilinx interrupts
Since Xilinx-based adapters now support up to eight CAN channels, the TX interrupt mask array must have eight elements. Signed-off-by: Martin Jocic <[email protected]> Link: https://lore.kernel.org/all/[email protected] Fixes: 9b221ba ("can: kvaser_pciefd: Add support for Kvaser PCIe 8xCAN") [mkl: replace Link by Fixes tag] Signed-off-by: Marc Kleine-Budde <[email protected]>
1 parent e54e09c commit af1752e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/net/can/kvaser_pciefd.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -370,8 +370,8 @@ static const struct kvaser_pciefd_irq_mask kvaser_pciefd_sf2_irq_mask = {
370370

371371
static const struct kvaser_pciefd_irq_mask kvaser_pciefd_xilinx_irq_mask = {
372372
.kcan_rx0 = BIT(4),
373-
.kcan_tx = { BIT(16), BIT(17), BIT(18), BIT(19) },
374-
.all = GENMASK(19, 16) | BIT(4),
373+
.kcan_tx = { BIT(16), BIT(17), BIT(18), BIT(19), BIT(20), BIT(21), BIT(22), BIT(23) },
374+
.all = GENMASK(23, 16) | BIT(4),
375375
};
376376

377377
static const struct kvaser_pciefd_dev_ops kvaser_pciefd_altera_dev_ops = {

0 commit comments

Comments
 (0)