more changes for 2.1.X

This commit is contained in:
Karsten Keil 1996-11-06 17:38:48 +00:00
parent 4bdcf253a9
commit 50d87c9766
2 changed files with 8 additions and 1 deletions

View File

@ -21,6 +21,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.17 1996/09/07 12:53:57 hipp
* moved a few isdn_ppp.c specific defines to drives/isdn/isdn_ppp.h
*
* Revision 1.16 1996/08/12 16:20:56 hipp
* renamed ppp_minor to ppp_slot
*
@ -212,7 +215,6 @@ typedef struct {
#include <linux/kernel.h>
#include <linux/signal.h>
#include <linux/malloc.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/wait.h>
#include <linux/tty.h>

View File

@ -22,6 +22,9 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*
* $Log$
* Revision 1.11 1996/10/23 11:59:42 fritz
* More compatibility changes.
*
* Revision 1.10 1996/10/22 23:14:19 fritz
* Changes for compatibility to 2.0.X and 2.1.X kernels.
*
@ -311,6 +314,7 @@ extern int register_isdn(isdn_if*);
#include <linux/version.h>
#endif
#if (LINUX_VERSION_CODE < 0x020100)
#include <linux/mm.h>
#define copy_from_user memcpy_fromfs
#define copy_to_user memcpy_tofs
#define GET_USER(x, addr) ( x = get_user(addr) )
@ -319,6 +323,7 @@ extern int register_isdn(isdn_if*);
#define RWARG int
#define LSARG off_t
#else
#include <asm/uaccess.h>
#define GET_USER get_user
#define RWTYPE long
#define LSTYPE long long