patch-2.0.36 linux/include/linux/isdnif.h

Next file: linux/include/linux/isicom.h
Previous file: linux/include/linux/isdn_ppp.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.0.35/linux/include/linux/isdnif.h linux/include/linux/isdnif.h
@@ -1,10 +1,10 @@
-/* $Id: isdnif.h,v 1.20 1997/05/27 15:18:06 fritz Exp $
+/* $Id: isdnif.h,v 1.20.2.2 1998/11/05 22:13:33 fritz Exp $
  *
  * Linux ISDN subsystem
  *
  * Definition of the interface between the subsystem and its low-level drivers.
  *
- * Copyright 1994,95,96 by Fritz Elfert (fritz@wuemaus.franken.de)
+ * Copyright 1994-1998  by Fritz Elfert (fritz@isdn4linux.de)
  * Copyright 1995,96    Thinking Objects Software GmbH Wuerzburg
  * 
  * This program is free software; you can redistribute it and/or modify
@@ -22,6 +22,12 @@
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 
  *
  * $Log: isdnif.h,v $
+ * Revision 1.20.2.2  1998/11/05 22:13:33  fritz
+ * Changed mail-address.
+ *
+ * Revision 1.20.2.1  1998/03/07 23:00:50  tsbogend
+ * added defines for Linux/Alpha 2.0.x with alpha-patches
+ *
  * Revision 1.20  1997/05/27 15:18:06  fritz
  * Added changes for recent 2.1.x kernels:
  *   changed return type of isdn_close
@@ -382,9 +388,15 @@
 }
 
 #define GET_USER(x, addr) ( x = get_user(addr) )
+#ifdef __alpha__ /* needed for 2.0.x with alpha-patches */
+#define RWTYPE long
+#define LSTYPE long
+#define RWARG unsigned long
+#else
 #define RWTYPE int
 #define LSTYPE int
 #define RWARG int
+#endif
 #define LSARG off_t
 #else
 #include <asm/uaccess.h>

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov