kernel: can: add MCP251x CAN controller module support
Adds kernel module for Microchip MCP251x SPI CAN controller. Signed-off-by: Tim Harvey <tharvey@gateworks.com> [added missing commit description] Signed-off-by: Petr Štetiar <ynezz@true.cz>
This commit is contained in:
parent
b468353a37
commit
b56e669af9
1 changed files with 17 additions and 0 deletions
|
@ -146,6 +146,23 @@ endef
|
||||||
$(eval $(call KernelPackage,can-gw))
|
$(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
|
define KernelPackage/can-raw
|
||||||
TITLE:=Raw CAN Protcol
|
TITLE:=Raw CAN Protcol
|
||||||
KCONFIG:=CONFIG_CAN_RAW
|
KCONFIG:=CONFIG_CAN_RAW
|
||||||
|
|
Loading…
Reference in a new issue