* better
[mascara-docs.git] / i386 / linux-2.3.21 / drivers / isdn / avmb1 / compat.h
blob15f4715596fe1ed9fafe97e33607db47d5fb520e
1 /*
2 * $Id: compat.h,v 1.4 1998/10/25 14:39:02 fritz Exp $
3 *
4 * Headerfile for Compartibility between different kernel versions
5 *
6 * (c) Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
7 *
8 * $Log: compat.h,v $
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
27 * new version
29 * Revision 1.1 1997/01/31 10:32:20 calle
30 * Initial revision
34 #ifndef __COMPAT_H__
35 #define __COMPAT_H__
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))
43 #endif
45 #endif /* __COMPAT_H__ */