]> rtime.felk.cvut.cz Git - socketcan-devel.git/blob - mkseries-dev/patches/DRIVER_SJA1000.diff
Add modifiers for sampling-point and sjw to can_if start/stop script.
[socketcan-devel.git] / mkseries-dev / patches / DRIVER_SJA1000.diff
1 ---
2  drivers/net/can/Kconfig          |   11 +++++++++++
3  drivers/net/can/Makefile         |    2 ++
4  drivers/net/can/sja1000/Makefile |    5 +++++
5  3 files changed, 18 insertions(+)
6
7 Index: linux-2.6.25.6.OLD/drivers/net/can/Kconfig
8 ===================================================================
9 --- linux-2.6.25.6.OLD.orig/drivers/net/can/Kconfig
10 +++ linux-2.6.25.6.OLD/drivers/net/can/Kconfig
11 @@ -21,6 +21,17 @@ config CAN_DEV
12           support. This is the standard library for CAN drivers.
13           If unsure, say Y.
14  
15 +config CAN_SJA1000
16 +       depends on CAN_DEV
17 +       tristate "Philips SJA1000"
18 +       ---help---
19 +         The SJA1000 is one of the top CAN controllers out there. As it
20 +         has a multiplexed interface it fits directly to 8051
21 +         microcontrollers or into the PC I/O port space. The SJA1000
22 +         is a full CAN controller, with shadow registers for RX and TX.
23 +         It can send and receive any kinds of CAN frames (SFF/EFF/RTR)
24 +         with a single (simple) filter setup.
25 +
26  config CAN_DEBUG_DEVICES
27         bool "CAN devices debugging messages"
28         depends on CAN
29 Index: linux-2.6.25.6.OLD/drivers/net/can/sja1000/Makefile
30 ===================================================================
31 --- /dev/null
32 +++ linux-2.6.25.6.OLD/drivers/net/can/sja1000/Makefile
33 @@ -0,0 +1,5 @@
34 +#
35 +#  Makefile for Philips SJA1000 CAN Controller drivers.
36 +#
37 +
38 +obj-$(CONFIG_CAN_SJA1000) += sja1000.o
39 Index: linux-2.6.25.6.OLD/drivers/net/can/Makefile
40 ===================================================================
41 --- linux-2.6.25.6.OLD.orig/drivers/net/can/Makefile
42 +++ linux-2.6.25.6.OLD/drivers/net/can/Makefile
43 @@ -6,3 +6,5 @@ obj-$(CONFIG_CAN_VCAN)          += vcan.o
44  
45  obj-$(CONFIG_CAN_DEV)          += can-dev.o
46  can-dev-y                      := dev.o sysfs.o
47 +
48 +obj-$(CONFIG_CAN_SJA1000)      += sja1000/