patch-2.2.11 linux/drivers/isdn/avmb1/compat.h
Next file: linux/drivers/isdn/avmb1/kcapi.c
Previous file: linux/drivers/isdn/avmb1/capiutil.c
Back to the patch index
Back to the overall index
- Lines: 42
- Date:
Wed Dec 31 16:00:00 1969
- Orig file:
v2.2.10/linux/drivers/isdn/avmb1/compat.h
- Orig date:
Wed Apr 1 16:20:57 1998
diff -u --recursive --new-file v2.2.10/linux/drivers/isdn/avmb1/compat.h linux/drivers/isdn/avmb1/compat.h
@@ -1,41 +0,0 @@
-/*
- * $Id: compat.h,v 1.3 1997/11/04 06:12:15 calle Exp $
- *
- * Headerfile for Compartibility between different kernel versions
- *
- * (c) Copyright 1996 by Carsten Paeth (calle@calle.in-berlin.de)
- *
- * $Log: compat.h,v $
- * Revision 1.3 1997/11/04 06:12:15 calle
- * capi.c: new read/write in file_ops since 2.1.60
- * capidrv.c: prepared isdnlog interface for d2-trace in newer firmware.
- * capiutil.c: needs config.h (CONFIG_ISDN_DRV_AVMB1_VERBOSE_REASON)
- * compat.h: added #define LinuxVersionCode
- *
- * Revision 1.2 1997/10/01 09:21:22 fritz
- * Removed old compatibility stuff for 2.0.X kernels.
- * From now on, this code is for 2.1.X ONLY!
- * Old stuff is still in the separate branch.
- *
- * Revision 1.1 1997/03/04 21:50:36 calle
- * Frirst version in isdn4linux
- *
- * Revision 2.2 1997/02/12 09:31:39 calle
- * new version
- *
- * Revision 1.1 1997/01/31 10:32:20 calle
- * Initial revision
- *
- *
- */
-#ifndef __COMPAT_H__
-#define __COMPAT_H__
-
-#include <linux/version.h>
-#include <linux/isdnif.h>
-
-#ifndef LinuxVersionCode
-#define LinuxVersionCode(v, p, s) (((v)<<16)+((p)<<8)+(s))
-#endif
-
-#endif /* __COMPAT_H__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)