Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 150307
b: refs/heads/master
c: 39549ee
h: refs/heads/master
i:
  150305: a019d60
  150303: da1f7b2
v: v3
  • Loading branch information
Wolfgang Grandegger authored and David S. Miller committed May 18, 2009
1 parent ddb3f6f commit cb26f73
Show file tree
Hide file tree
Showing 7 changed files with 870 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 4261a2043f1bed16f226c507ea37015090600c0f
refs/heads/master: 39549eef3587f1c1e8c65c88a2400d10fd30ea17
23 changes: 23 additions & 0 deletions trunk/drivers/net/can/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,29 @@ config CAN_VCAN
This driver can also be built as a module. If so, the module
will be called vcan.

config CAN_DEV
tristate "Platform CAN drivers with Netlink support"
depends on CAN
default Y
---help---
Enables the common framework for platform CAN drivers with Netlink
support. This is the standard library for CAN drivers.
If unsure, say Y.

config CAN_CALC_BITTIMING
bool "CAN bit-timing calculation"
depends on CAN_DEV
default Y
---help---
If enabled, CAN bit-timing parameters will be calculated for the
bit-rate specified via Netlink argument "bitrate" when the device
get started. This works fine for the most common CAN controllers
with standard bit-rates but may fail for exotic bit-rates or CAN
source clock frequencies. Disabling saves some space, but then the
bit-timing parameters must be specified directly using the Netlink
arguments "tq", "prop_seg", "phase_seg1", "phase_seg2" and "sjw".
If unsure, say Y.

config CAN_DEBUG_DEVICES
bool "CAN devices debugging messages"
depends on CAN
Expand Down
5 changes: 5 additions & 0 deletions trunk/drivers/net/can/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,8 @@
#

obj-$(CONFIG_CAN_VCAN) += vcan.o

obj-$(CONFIG_CAN_DEV) += can-dev.o
can-dev-y := dev.o

ccflags-$(CONFIG_CAN_DEBUG_DEVICES) := -DDEBUG
Loading

0 comments on commit cb26f73

Please sign in to comment.