]> rtime.felk.cvut.cz Git - sojka/can-utils.git/blobdiff - slcan_attach.c
Removed bad hacks in vcan.c and slcan_attach.c.
[sojka/can-utils.git] / slcan_attach.c
index 399962e7bd4de38f3f01b5f947babefc25d4f257..bfeaa8e235c854395f7fc42e0ed46e81de8fe2ae 100644 (file)
 //#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)