This patch can be applied against 'kernel/2.6/drivers/net/can/Makefile' and 'kernel/2.6/drivers/net/can/kconfig' to allow Bosch CCAN driver and SPEAr320 CAN driver compilation
Signed-off-by: Bhupesh Sharma <[email protected]> Index: Makefile =================================================================== --- Makefile (revision 1194) +++ Makefile (working copy) @@ -25,6 +25,8 @@ export CONFIG_CAN_SOFTING=m export CONFIG_CAN_SOFTING_CS=m export CONFIG_CAN_MCP251X=m +export CONFIG_CAN_BOSCH_CCAN=m +export CONFIG_CAN_SPEAR320=m modules modules_install clean: $(MAKE) -C $(KERNELDIR) M=$(PWD) $@ TOPDIR=$(TOPDIR) @@ -52,6 +54,8 @@ obj-$(CONFIG_CAN_MSCAN_OLD) += old/mscan/ obj-$(CONFIG_CAN_CCAN_OLD) += old/ccan/ obj-$(CONFIG_CAN_MCP251X) += mcp251x.o +obj-$(CONFIG_CAN_BOSCH_CCAN) += bosch_ccan.o +obj-$(CONFIG_CAN_SPEAR320) += spear320_can.o ifeq ($(CONFIG_CAN_DEBUG_DEVICES),y) EXTRA_CFLAGS += -DDEBUG Index: Kconfig =================================================================== --- Kconfig (revision 1194) +++ Kconfig (working copy) @@ -113,7 +113,22 @@ depends on CAN_DEV && SPI ---help--- Driver for the Microchip MCP251x SPI CAN controllers. + +config CAN_BOSCH_CCAN + tristate "Bosch CCAN controller" + depends on CAN_DEV + ---help--- + If you say yes to this option, support will be included for the + Bosch CCAN controller. +config CAN_SPEAR320 + tristate "SPEAr320 CAN controller" + depends on CAN_DEV && CAN_BOSCH_CCAN + ---help--- + If you say yes to this option, support will be included for the + SPEAr320 CAN controller which has two inbuilt CCAN controllers. + This driver can also be built as a module. + source "drivers/net/can/cc770/Kconfig" source "drivers/net/can/mscan/Kconfig" _______________________________________________ Socketcan-core mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-core
