]>
rtime.felk.cvut.cz Git - socketcan-devel.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
hartkopp [Sat, 18 Nov 2006 19:14:00 +0000 (19:14 +0000)]
TADA! Revision 100 :-)
Removed obsolete checkings and removed obsolete function.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@100
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Fri, 17 Nov 2006 15:55:09 +0000 (15:55 +0000)]
Added the possibility to set _no_ RX filter in CAN_RAW sockets as requested
by Wolfgang Grandegger on the socketcan-core mailinglist.
Updated tst-raw-filter testtool to checkout the functionality.
Indeed the setting of the default filter turned out to be much clearer in the
source code of raw.c. There's no swap-back to any default if the filter was
once changed by the user-space. Just a straight behavior. Tnx Wolfgang.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@99
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Fri, 17 Nov 2006 15:18:55 +0000 (15:18 +0000)]
updated values to current settings in can.h to enable
autoloading of kernel-modules.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@98
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Tue, 31 Oct 2006 10:41:21 +0000 (10:41 +0000)]
Added include <sys/socket.h> to lib.c after discussion on commit-mailing-list.
Fixed comments.
Fixed Makefile (remove all *.o files / added empty line at end of file).
git-svn-id: svn://svn.berlios.de//socketcan/trunk@97
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 30 Oct 2006 18:36:08 +0000 (18:36 +0000)]
never try to include from /usr/include in kernel code:
changed sys/socket.h to linux/socket.h.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@96
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Mon, 30 Oct 2006 13:14:36 +0000 (13:14 +0000)]
Added tiny tool cansend and a library to parse ASCII CAN frames (e.g. from
the command line) that are defined in one concatenated string.
This is a requirement for the comming command line tool 'bcmsend' that allows
to send more than one CAN frame at a time.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@95
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Mon, 30 Oct 2006 13:08:32 +0000 (13:08 +0000)]
added #include <sys/sockets.h> as it is needed for sa_family_t .
git-svn-id: svn://svn.berlios.de//socketcan/trunk@94
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 27 Oct 2006 07:32:36 +0000 (07:32 +0000)]
move memory allocation out of spin-locked region.
remove two unnecessary checks for success of find_rcv_list().
git-svn-id: svn://svn.berlios.de//socketcan/trunk@93
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 25 Oct 2006 15:44:50 +0000 (15:44 +0000)]
Fixed compiler warning & memory leak from Urs' last change.
Reworked rx-packet counting: Only count the rx-path on performed loopback
operation (in vcan.c or af_can.c). This gives the rx-counter a usable
content ...
git-svn-id: svn://svn.berlios.de//socketcan/trunk@92
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Wed, 25 Oct 2006 11:59:41 +0000 (11:59 +0000)]
rename can_device.[ch] to dev.[ch].
move dev.h to include/linux/can.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@91
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Wed, 25 Oct 2006 11:48:17 +0000 (11:48 +0000)]
minor cleanups.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@90
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 25 Oct 2006 08:34:38 +0000 (08:34 +0000)]
Updated to new IFF_LOOPBACK behaviour in af_can.c .
Changed device type to ARPHDR_CAN.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@89
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 25 Oct 2006 07:53:31 +0000 (07:53 +0000)]
Added support for interfaces that can perform the loopback inside the driver.
If so, set the IFF_LOOPBACK flag in your device.
If not, the loopback is still performed in af_can.c .
git-svn-id: svn://svn.berlios.de//socketcan/trunk@88
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 24 Oct 2006 18:09:10 +0000 (18:09 +0000)]
explicitly initialize init() functions in bcm.c.
removed and commented out unnecessary -I include options in Makefiles.
white-space clean up.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@87
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 24 Oct 2006 13:55:43 +0000 (13:55 +0000)]
changed user space programs to use new include files.
added missing include file <net/if.h> in most programs.
added volatile modifier to "int running" in candump.c.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@86
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 24 Oct 2006 13:49:12 +0000 (13:49 +0000)]
reorganized kernel include files:
- move code from af_can.h to can.h
- move can.h to include/linux
- rename can_error.h and can_ioctl.h to error.h and ioctl.h
- changed all include directives accordingly
user space programs now include only linux/can.h, and linux/can/{raw,bcm.h}.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@85
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 29 Sep 2006 08:24:54 +0000 (08:24 +0000)]
Move type, proto, and capability information about CAN protocols into
struct can_proto. This simplifies can_create() significantly and allows
future CAN protocols to be loaded without the need to change af_can.c
Rename CAN_MAX to CAN_NPROTO.
Check for protocol numbers that are out of range in can_create().
Use find_dev_rcv_lists() in can_rcv() instead of scanning the list on our own.
Move comment on scanning the hlist.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@84
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 29 Sep 2006 07:11:29 +0000 (07:11 +0000)]
make bcm_read_proc() static.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@83
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Tue, 19 Sep 2006 15:16:55 +0000 (15:16 +0000)]
Check for valid return value in the case of NETDEV_UNREGISTER.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@82
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 19 Sep 2006 13:46:32 +0000 (13:46 +0000)]
avoid white space in slab cache name.
bind(2) states EINVAL for sockets that are already bound.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@81
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 19 Sep 2006 10:59:17 +0000 (10:59 +0000)]
use slab cache for receiver structs since we may have *lots* of them.
still untested...
git-svn-id: svn://svn.berlios.de//socketcan/trunk@80
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 19 Sep 2006 10:04:01 +0000 (10:04 +0000)]
alloc/free dev_rcv_lists struct in device notifier for NETDEV_(UN)REGISTER
instead of can_rx_(un)register.
WARNING: the code compiles but is untested. Test results appreciated.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@79
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 19 Sep 2006 08:53:20 +0000 (08:53 +0000)]
fix a typo.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@78
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 19 Sep 2006 08:50:08 +0000 (08:50 +0000)]
bug fix: missing initializations in struct raw_opt.
bug fix: set can_raw(sk)->count to 0 when filters are removed.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@77
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Thu, 14 Sep 2006 13:59:59 +0000 (13:59 +0000)]
removed obsolete parameter for find_rcv_list() which makes the
change form Urs even more clearly.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@76
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 14 Sep 2006 13:26:14 +0000 (13:26 +0000)]
call find_dev_rcv_lists() from can_rx_{register,unregister}(),
pass the result to find_rcv_list(), and eliminate scanning the
list a second time.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@75
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 14 Sep 2006 12:50:38 +0000 (12:50 +0000)]
extract part of find_rcv_list() into new function find_dev_rcv_lists().
git-svn-id: svn://svn.berlios.de//socketcan/trunk@74
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 5 Sep 2006 13:23:51 +0000 (13:23 +0000)]
cleanup in kernel 2.4 sources to prepare backporting from 2.6.
white-space change: indentation and line breaks, moved some comments.
remove false semicolons after function bodies.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@73
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 5 Sep 2006 13:21:03 +0000 (13:21 +0000)]
rename structs and variables to improve readability.
minor bug fix: don't accidentally free a random receiver list item in
can_rx_unregister(), when no one was found because of a bug in a CAN
protocol implementation.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@72
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 5 Sep 2006 10:43:04 +0000 (10:43 +0000)]
merge changes from hlist branch into trunk.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@71
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Tue, 29 Aug 2006 12:31:50 +0000 (12:31 +0000)]
updated tst-raw.c to check RAW sockopt functionality on Kernel 2.6
git-svn-id: svn://svn.berlios.de//socketcan/trunk@60
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Tue, 29 Aug 2006 12:09:55 +0000 (12:09 +0000)]
updated Kernel 2.4 includes to values from Kernel 2.6 (e.g. PF_CAN = 29)
to be able to compile the test tools and can-utils again.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@59
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 29 Aug 2006 11:49:49 +0000 (11:49 +0000)]
support calling init functions when creating a new socket.
rename raw_{init,exit} functions to raw_module_{init,exit}.
add raw_init() function to initialize the raw_opt structure
of newly created CAN_RAW sockets.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@58
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Tue, 29 Aug 2006 08:57:05 +0000 (08:57 +0000)]
Added discussed sockopts() for RAW-sockets to control the CAN-frames loopback
and the receiption of self created CAN-frames.
Added Kconfig option for capabilities on BCM sockets.
TODO: Set loopback as default with sock_init-function (under construction).
git-svn-id: svn://svn.berlios.de//socketcan/trunk@57
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Tue, 22 Aug 2006 12:27:04 +0000 (12:27 +0000)]
added sja1000_mem due to hint of Pavel Pisa.
fixed bcm.c handling of error frames.
added CAN_RAW_USER in Kconfig
added include of linux/config.h in most files and therefore
changed some local DEBUG-defines in CONFIG_CAN_DEBUG_*
removed MODULE_PARM-macros.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@56
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Mon, 10 Jul 2006 13:09:52 +0000 (13:09 +0000)]
Added CAN_ERR_BUSERROR and CAN_ERR_RESTARTED to can_error.h
Sorted the CAN_ERR_* defines of the error class mask.
Introduced CAN_ERR_CRTL_[RT]X_PASSIVE defines due to discussion.
Changed the procfs-directory from /proc/sys/net/can back to /proc/net/can.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@55
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 7 Jul 2006 06:58:26 +0000 (06:58 +0000)]
Remove remnants of the projects VW history (Email addresses, Makefile targets).
Move version.h to include/linux/can.
Fix Makefiles to include raw.ko and bcm.ko in compilation and to make
vcan compile again.
Change ioctl names in SJA1000 driver to make it compile again.
Add parenthesis around assignment in vcan.c to eliminate gcc warning.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@54
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Wed, 28 Jun 2006 09:10:01 +0000 (09:10 +0000)]
More whitespace fixes. mscan driver still needs some more.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@51
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 27 Jun 2006 19:23:38 +0000 (19:23 +0000)]
whitespace fixes.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@49
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Tue, 27 Jun 2006 17:28:31 +0000 (17:28 +0000)]
Fix "warning: suggest parentheses around assignment used
as truth value"
Signed-off-by: Andrey Volkov <avolkov@varma-el.com>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@48
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Tue, 27 Jun 2006 17:27:02 +0000 (17:27 +0000)]
mscan now library, but not needless kernel module,
due to nature of it (always onchip system).
Signed-off-by: Andrey Volkov <avolkov@varma-el.com>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@47
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Tue, 27 Jun 2006 17:22:38 +0000 (17:22 +0000)]
Fix Makefiles to support building process in(out) kernel tree.
Move can_device.[ch] back into net/can, and include it into
candev.ko kernel module.
Signed-off-by: Andrey Volkov <avolkov@varma-el.com>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@46
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 26 Jun 2006 11:40:50 +0000 (11:40 +0000)]
Fixed $Id$ keywords in mscan source files.
- This caused annoying diffs and log when creating branches or tags.
Added $Id$ to Makefile.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@41
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 23 Jun 2006 07:17:39 +0000 (07:17 +0000)]
changes compile but are untested. no functional changes.
add some missing static declarations.
minor changes to improve readability, reduce indentation level,
improve performance and reduce code size.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@40
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 16 Jun 2006 04:54:37 +0000 (04:54 +0000)]
fix typo in property name.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@39
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 16 Jun 2006 04:52:13 +0000 (04:52 +0000)]
set svn:kewwords property on kv.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@38
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 15 Jun 2006 23:28:01 +0000 (23:28 +0000)]
add a tool kv to eliminate conditional compilation for kernel versions.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@37
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Thu, 15 Jun 2006 15:49:08 +0000 (15:49 +0000)]
Fix CAN_BAUD_UNCONFIGURED bug
git-svn-id: svn://svn.berlios.de//socketcan/trunk@36
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Thu, 15 Jun 2006 15:44:26 +0000 (15:44 +0000)]
Fix missing CAN_BAUDRATE_UNCONFIGURED
git-svn-id: svn://svn.berlios.de//socketcan/trunk@35
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Thu, 15 Jun 2006 15:32:40 +0000 (15:32 +0000)]
Added missing controller state: CAN_ERR_CRTL_PASSIVE
git-svn-id: svn://svn.berlios.de//socketcan/trunk@34
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Thu, 15 Jun 2006 14:18:09 +0000 (14:18 +0000)]
Little cleanup. Added missing ioctls
git-svn-id: svn://svn.berlios.de//socketcan/trunk@33
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Thu, 15 Jun 2006 13:12:14 +0000 (13:12 +0000)]
Added drivers of MSCAN based mpc52xx onchip CAN
git-svn-id: svn://svn.berlios.de//socketcan/trunk@32
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Sun, 11 Jun 2006 18:41:06 +0000 (18:41 +0000)]
apply patches from Marc for the 2.6 kernel to the 2.4 kernel.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@31
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Sun, 11 Jun 2006 18:32:16 +0000 (18:32 +0000)]
replace 0 by NULL for null pointers to ioctl() functions.
add comments about usage of null pointer.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@30
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:57:58 +0000 (16:57 +0000)]
This patch fixes the error handling in raw_sendmsg().
If the memcpy_fromiovec() fails the device refcount was not decreased
by a dev_put() call. This patch adds the missing dev_put().
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@29
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:57:10 +0000 (16:57 +0000)]
This patch adds a missing kfree() to bcm_sendmsg(). First 'op' is
allocated but in the error path not kfree()d.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@28
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:56:36 +0000 (16:56 +0000)]
This patch fixes a return with held lock problem in the
can_rx_register() function.
If the malloc fails, the function was left without giving back the
lock, the patch gotos to out (where the lock is dropped) instead of
returning.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@27
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:55:36 +0000 (16:55 +0000)]
This patch fixes the kmalloc call in can_dev_register(), where the GFP
and the size argument were swapped.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@26
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:53:29 +0000 (16:53 +0000)]
This patch adds __user address space qualifiers to the dev_ioctl call
in can_ioctl();
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@25
030b6a49 -0b11-0410-94ab-
b0dab22257f2
bet-frogger [Sun, 11 Jun 2006 16:52:16 +0000 (16:52 +0000)]
his patch adds __user address space qualifiers to the
raw_{s,g}etsockopt() functions as well as to thier prototypes.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
git-svn-id: svn://svn.berlios.de//socketcan/trunk@24
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 9 Jun 2006 10:26:34 +0000 (10:26 +0000)]
changed indentation to 8, other white space changes.
removed a couple misplaced ';' after function bodies.
bcm.c stills needs some work to reduce line lengths.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@23
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 7 Jun 2006 14:08:41 +0000 (14:08 +0000)]
!!! Changed protocol order in af_can.h.
Added comments to Kconfig. Cosmetics.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@22
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Fri, 2 Jun 2006 20:42:06 +0000 (20:42 +0000)]
re-introduced ARPHRD_CAN.
Changed PF_CAN value from 30 to 29 as 30 is already used in current socket.h in the kernel.
Added comments.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@21
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Fri, 2 Jun 2006 10:49:55 +0000 (10:49 +0000)]
convert can_sys_clock in can_device to be Hz based
git-svn-id: svn://svn.berlios.de//socketcan/trunk@20
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 22:16:26 +0000 (22:16 +0000)]
Moved can_device.* to a right place
git-svn-id: svn://svn.berlios.de//socketcan/trunk@19
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Wed, 31 May 2006 20:02:08 +0000 (20:02 +0000)]
cleaned up can_ioctl.h / can.h
removed ARPHRD_CAN with ARPHRD_NONE (CAN has no ARP!)
git-svn-id: svn://svn.berlios.de//socketcan/trunk@18
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Wed, 31 May 2006 18:53:49 +0000 (18:53 +0000)]
remove inclusion of version.h from header files.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@17
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 16:33:17 +0000 (16:33 +0000)]
fix formatting
git-svn-id: svn://svn.berlios.de//socketcan/trunk@16
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 16:15:52 +0000 (16:15 +0000)]
Added can_bittime type
git-svn-id: svn://svn.berlios.de//socketcan/trunk@15
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 13:58:16 +0000 (13:58 +0000)]
fix $ keyword
git-svn-id: svn://svn.berlios.de//socketcan/trunk@14
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 31 May 2006 13:39:37 +0000 (13:39 +0000)]
Added can_device type
git-svn-id: svn://svn.berlios.de//socketcan/trunk@13
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Tue, 30 May 2006 15:12:53 +0000 (15:12 +0000)]
New files
git-svn-id: svn://svn.berlios.de//socketcan/trunk@12
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 29 May 2006 08:05:26 +0000 (08:05 +0000)]
fix and complete rcv list locking.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@11
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Fri, 12 May 2006 02:57:54 +0000 (02:57 +0000)]
Security fix:
- allow raw sockets only with CAP_NET_RAW.
- clear skbuff data before writing CAN frame to it in order to avoid passing
random bytes to user space.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@10
030b6a49 -0b11-0410-94ab-
b0dab22257f2
hartkopp [Thu, 11 May 2006 09:19:16 +0000 (09:19 +0000)]
added CAN error frame support.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@9
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 11 May 2006 07:59:37 +0000 (07:59 +0000)]
add Id to svn:keywords property.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@8
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 4 May 2006 19:21:26 +0000 (19:21 +0000)]
copy version.h to sja1000 driver directory.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@7
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 4 May 2006 19:16:57 +0000 (19:16 +0000)]
move some include files.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@6
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Thu, 4 May 2006 18:41:31 +0000 (18:41 +0000)]
changed to new directory structure.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@5
030b6a49 -0b11-0410-94ab-
b0dab22257f2
avolkov [Wed, 26 Apr 2006 10:43:33 +0000 (10:43 +0000)]
* Rearrange 2.6 subtree for a better compatibility with the vanilla kernel.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@4
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Tue, 25 Apr 2006 11:15:58 +0000 (11:15 +0000)]
fix version code.
git-svn-id: svn://svn.berlios.de//socketcan/trunk@3
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 24 Apr 2006 14:21:08 +0000 (14:21 +0000)]
Port kernel code to linux-2.6
git-svn-id: svn://svn.berlios.de//socketcan/trunk@2
030b6a49 -0b11-0410-94ab-
b0dab22257f2
thuermann [Mon, 24 Apr 2006 14:14:09 +0000 (14:14 +0000)]
Initial import of llcf-2.0-pre2
git-svn-id: svn://svn.berlios.de//socketcan/trunk@1
030b6a49 -0b11-0410-94ab-
b0dab22257f2