Skip to content

Commit

Permalink
can: Driver for the SJA1000 CAN controller
Browse files Browse the repository at this point in the history
This patch adds the generic Socket-CAN driver for the Philips SJA1000
full CAN controller.

Signed-off-by: Wolfgang Grandegger <wg@grandegger.com>
Signed-off-by: Oliver Hartkopp <oliver.hartkopp@volkswagen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Wolfgang Grandegger authored and David S. Miller committed May 18, 2009
1 parent 39549ee commit 429da1c
Show file tree
Hide file tree
Showing 5 changed files with 832 additions and 0 deletions.
6 changes: 6 additions & 0 deletions drivers/net/can/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ config CAN_CALC_BITTIMING
arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
If unsure, say Y.

config CAN_SJA1000
depends on CAN_DEV
tristate "Philips SJA1000"
---help---
Driver for the SJA1000 CAN controllers from Philips or NXP

config CAN_DEBUG_DEVICES
bool "CAN devices debugging messages"
depends on CAN
Expand Down
2 changes: 2 additions & 0 deletions drivers/net/can/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ obj-$(CONFIG_CAN_VCAN) += vcan.o
obj-$(CONFIG_CAN_DEV) += can-dev.o
can-dev-y := dev.o

obj-$(CONFIG_CAN_SJA1000) += sja1000/

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
7 changes: 7 additions & 0 deletions drivers/net/can/sja1000/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#
# Makefile for the SJA1000 CAN controller drivers.
#

obj-$(CONFIG_CAN_SJA1000) += sja1000.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
Loading

0 comments on commit 429da1c

Please sign in to comment.