mirror of
https://github.com/linux-can/can-utils.git
synced 2026-09-22 16:09:52 +02:00
Removed bad hacks in vcan.c and slcan_attach.c.
Giving some hints for users of older kernels than 2.6.25 that a compilation error is a normal behaviour in these cases.
This commit is contained in:
+4
-1
@@ -55,7 +55,10 @@
|
||||
//#include <asm/termios.h> /* ldiscs for each arch up to 2.6.20 */
|
||||
|
||||
#ifndef N_SLCAN
|
||||
#define N_SLCAN 17 /* bad hack until it's not inside the Kernel */
|
||||
#error Your kernel includes do not provide the needed line discipline.
|
||||
#error This is a normal behaviour for Kernel versions < v2.6.25 .
|
||||
#error You might update or patch your kernel OR you can just ignore
|
||||
#error this compilation failure if you do not need the slcan driver.
|
||||
#endif
|
||||
|
||||
void usage(char *name)
|
||||
|
||||
Reference in New Issue
Block a user