Paul Hollinsky
5031840429
Resolve warnings about unused variables when aliases are disabled
2019-08-27 18:19:31 -04:00
Paul Hollinsky
17569a82a9
Check the return type of copy_from_user
2019-08-27 18:16:50 -04:00
Paul Hollinsky
3a043ecedd
Standardize kernel version check defines
2019-08-27 13:59:47 -04:00
Paul Hollinsky
b5dfcee1e1
Support for kernels < 4.10.0
...
With 4.10.0 and later, the MTU bounds are checked by the kernel
We don't allow the client to set MTU yet so this is somewhat moot
2019-08-27 13:58:03 -04:00
Paul Hollinsky
6c061d771e
Tell the kernel our MAX_MTU rather than using CANFD_MTU directly
2019-08-27 13:54:34 -04:00
Paul Hollinsky
408459cbe2
Remove aliasing support for kernels < 4.15
2019-08-27 12:53:44 -04:00
Paul Hollinsky
a9233ab3a2
v2.0.1
...
Resolve warning on changing MTU
Reviewed our locking behavior, made tweaks where necessary
2019-08-14 11:37:46 -04:00
KamicDemon-Intrepid
7c2583c938
Edit /etc/modules in "install" function
...
The previous version of the "install" function in the MakeFile didn't update the /etc/modules file to include intrepid as a kernel to load at boot time. This change makes the necessary change, allowing the kernel to be loaded automatically.
2019-06-24 12:01:35 -04:00
Paul Hollinsky
3bbef8679d
Initial commit of Version 2.0.0, with CAN FD support
2019-05-02 19:24:20 -04:00
jeffq-intrepid
d8ea05895e
Merge pull request #2 from nfbrown/fix-linux-4.11
...
Fix compilation issues for Linux versions greater than 4.11
2017-12-04 15:45:26 -05:00
Nick Brown
5e5f774e01
Fix compilation issues when compiling against Linux versions greater than 4.11
...
In Linux 4.11.0, the vma argument was removed from the
vm_operations_struct::fault function.
In Linux 4.11.9, the netdevice destructor function was renamed to
priv_destructor and a needs_free_netdev member was added to the structure,
which should be set to true if the kernel module does not free its own struct
net_device upon exit.
2017-12-01 12:41:00 -05:00
jeffq-intrepid
80fc3839b9
Update README.md
...
don't need sudo to make
2016-08-30 17:52:03 -04:00
jeffq-intrepid
c4f6c52c64
adds README.md
2016-08-01 13:35:35 -04:00
Jeffrey Quesnelle
8e3e948ef6
adds make install
2016-08-01 13:04:47 -04:00
Jeffrey Quesnelle
e1c3f37c65
initial commit of socketcan ko
2016-07-28 09:03:28 -04:00
Jeffrey Quesnelle
35c1f148b6
initial commit
2016-06-06 13:50:42 -04:00