2 * $Id: compat.h,v 1.4 1998/10/25 14:39:02 fritz Exp $
4 * Headerfile for Compartibility between different kernel versions
6 * (c) Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
9 * Revision 1.4 1998/10/25 14:39:02 fritz
10 * Backported from MIPS (Cobalt).
12 * Revision 1.3 1997/11/04 06:12:15 calle
13 * capi.c: new read/write in file_ops since 2.1.60
14 * capidrv.c: prepared isdnlog interface for d2-trace in newer firmware.
15 * capiutil.c: needs config.h (CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON)
16 * compat.h: added #define LinuxVersionCode
18 * Revision 1.2 1997/10/01 09:21:22 fritz
19 * Removed old compatibility stuff for 2.0.X kernels.
20 * From now on, this code is for 2.1.X ONLY!
21 * Old stuff is still in the separate branch.
23 * Revision 1.1 1997/03/04 21:50:36 calle
24 * Frirst version in isdn4linux
26 * Revision 2.2 1997/02/12 09:31:39 calle
29 * Revision 1.1 1997/01/31 10:32:20 calle
37 #include <linux/version.h>
38 #include <asm/segment.h>
39 #include <linux/isdnif.h>
41 #ifndef LinuxVersionCode
42 #define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
45 #endif /* __COMPAT_H__ */