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 <martin.jocic@kvaser.com> Link: https://lore.kernel.org/all/2ab3c0585c3baba272ede0487182a423a420134b.camel@kvaser.com Fixes: 9b221ba ("can: kvaser_pciefd: Add support for Kvaser PCIe 8xCAN") [mkl: replace Link by Fixes tag] Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
1 parent e54e09c commit af1752e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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)