can: mcp251xfd: mcp251xfd_priv: introduce macros specifying the number of supported...
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 11 Oct 2021 20:37:34 +0000 (22:37 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 24 Feb 2022 07:47:00 +0000 (08:47 +0100)
commitaada74220f0076a2f76392806224ca385fae536a
tree02bf30bcb33ef646e6f7b57e1e8a7a30675451d4
parent887e359d6cce1c143d0ac39208538492d5d42191
can: mcp251xfd: mcp251xfd_priv: introduce macros specifying the number of supported TEF/RX/TX rings

This patch introduces macros to define the number of supported TEF, RX
and TX rings. As well as some assertions as sanity checks.

Link: https://lore.kernel.org/all/20220217103826.2299157-9-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd.h