Index: zaptel/Makefile =================================================================== RCS file: /usr/cvsroot/zaptel/Makefile,v retrieving revision 1.29 diff -u -r1.29 Makefile --- zaptel/Makefile 21 Nov 2003 09:33:22 -0000 1.29 +++ zaptel/Makefile 11 Dec 2003 01:01:42 -0000 @@ -58,6 +58,12 @@ # #KFLAGS+=-DCONFIG_ZAPATA_NET # +# Uncomment -DCONFIG_OLD_HDLC_API if your are compiling with ZAPATA_NET +# defined and you are using the old kernel HDLC interface (or if you get +# an error about ETH_P_HDLC while compiling). +# +#KFLAGS+=-DCONFIG_OLD_HDLC_API +# # Uncomment for Generic PPP support (i.e. ZapRAS) # #KFLAGS+=-DCONFIG_ZAPATA_PPP Index: zaptel/zaptel.c =================================================================== RCS file: /usr/cvsroot/zaptel/zaptel.c,v retrieving revision 1.51 diff -u -r1.51 zaptel.c --- zaptel/zaptel.c 9 Dec 2003 20:36:13 -0000 1.51 +++ zaptel/zaptel.c 11 Dec 2003 01:01:45 -0000 @@ -57,7 +57,7 @@ #include #endif -#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,20) +#ifndef CONFIG_OLD_HDLC_API #define NEW_HDLC_INTERFACE #endif