aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/can/c_can/Makefile
diff options
context:
space:
mode:
authorDario Binacchi <dariobin@libero.it>2021-05-14 18:55:47 +0200
committerMarc Kleine-Budde <mkl@pengutronix.de>2021-05-27 09:42:23 +0200
commit2722ac986e93c4cabbefde299d01ed24db40a645 (patch)
tree30122941037a4e3227da760823df992809bbb7bd /drivers/net/can/c_can/Makefile
parentcan: c_can: remove unused variable struct c_can_priv::rxmasked (diff)
downloadlinux-dev-2722ac986e93c4cabbefde299d01ed24db40a645.tar.xz
linux-dev-2722ac986e93c4cabbefde299d01ed24db40a645.zip
can: c_can: add ethtool support
With commit 132f2d45fb23 ("can: c_can: add support to 64 message objects") the number of message objects used for reception / transmission depends on FIFO size. The ethtools API support allows you to retrieve this info. Driver info has been added too. Link: https://lore.kernel.org/r/20210514165549.14365-2-dariobin@libero.it Signed-off-by: Dario Binacchi <dariobin@libero.it> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/can/c_can/Makefile')
-rw-r--r--drivers/net/can/c_can/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/can/c_can/Makefile b/drivers/net/can/c_can/Makefile
index e6a94c948531..6fa3b2b9e4b9 100644
--- a/drivers/net/can/c_can/Makefile
+++ b/drivers/net/can/c_can/Makefile
@@ -4,5 +4,10 @@
#
obj-$(CONFIG_CAN_C_CAN) += c_can.o
+
+c_can-objs :=
+c_can-objs += c_can_ethtool.o
+c_can-objs += c_can_main.o
+
obj-$(CONFIG_CAN_C_CAN_PLATFORM) += c_can_platform.o
obj-$(CONFIG_CAN_C_CAN_PCI) += c_can_pci.o