This reverts commit1a620a7238and its follow-up fixes for the introduced dependency issues. commit1a620a7238("can: raw: instantly reject unsupported CAN frames") commitcb2dc6d286("can: Kconfig: select CAN driver infrastructure by default") commit6abd4577bc("can: fix build dependency") commit5a5aff6338("can: fix build dependency") The entire problem was caused by the requirement that a new network layer feature needed to know about the protocol capabilities of the CAN devices. Instead of accessing CAN device internal data structures which caused the dependency problems a better approach has been developed which makes use of CAN specific ml_priv data which is accessible from both sides. Cc: Marc Kleine-Budde <mkl@pengutronix.de> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Vincent Mailhol <mailhol@kernel.org> Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Link: https://patch.msgid.link/20260109144135.8495-2-socketcan@hartkopp.net Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
13 lines
367 B
Makefile
13 lines
367 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
|
|
obj-$(CONFIG_CAN_DEV) += can-dev.o
|
|
|
|
can-dev-y += skb.o
|
|
|
|
can-dev-$(CONFIG_CAN_CALC_BITTIMING) += calc_bittiming.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += bittiming.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += dev.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += length.o
|
|
can-dev-$(CONFIG_CAN_NETLINK) += netlink.o
|
|
can-dev-$(CONFIG_CAN_RX_OFFLOAD) += rx-offload.o
|