define KernelPackage/can-c-can-platform
TITLE:=Platform Bus based BOSCH C_CAN/D_CAN driver
KCONFIG:=CONFIG_CAN_C_CAN_PLATFORM
- DEPENDS:=kmod-can-c-can +!LINUX_3_18:kmod-regmap-core
+ DEPENDS:=kmod-can-c-can +kmod-regmap-core
FILES:=$(LINUX_DIR)/drivers/net/can/c_can/c_can_platform.ko
AUTOLOAD:=$(call AutoProbe,c_can_platform)
$(call AddDepends/can)
$(eval $(call KernelPackage,can-gw))
+define KernelPackage/can-mcp251x
+ TITLE:=MCP251x SPI CAN controller
+ KCONFIG:=\
+ CONFIG_SPI=y \
+ CONFIG_CAN_MCP251X
+ FILES:=$(LINUX_DIR)/drivers/net/can/spi/mcp251x.ko
+ AUTOLOAD:=$(call AutoProbe,can-mcp251x)
+ $(call AddDepends/can)
+endef
+
+define KernelPackage/can-mcp251x/description
+ Microchip MCP251x SPI CAN controller
+endef
+
+$(eval $(call KernelPackage,can-mcp251x))
+
+
define KernelPackage/can-raw
TITLE:=Raw CAN Protcol
KCONFIG:=CONFIG_CAN_RAW