patch-2.1.77 linux/include/linux/hdlcdrv.h

Next file: linux/include/linux/if.h
Previous file: linux/include/linux/genhd.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.76/linux/include/linux/hdlcdrv.h linux/include/linux/hdlcdrv.h
@@ -1,20 +1,12 @@
 /*
  * hdlcdrv.h  -- HDLC packet radio network driver.
  * The Linux soundcard driver for 1200 baud and 9600 baud packet radio
- * (C) 1996 by Thomas Sailer, HB9JNX/AE4WA
+ * (C) 1996-1998 by Thomas Sailer, HB9JNX/AE4WA
  */
 
 #ifndef _HDLCDRV_H
 #define _HDLCDRV_H
 
-#include <linux/version.h>
-#include <linux/sockios.h>
-#include <linux/version.h>
-#if LINUX_VERSION_CODE < 0x20119
-#include <linux/if_ether.h>
-#endif
-#include <linux/netdevice.h>
-
 /* -------------------------------------------------------------------- */
 /*
  * structs for the IOCTL commands
@@ -43,9 +35,6 @@
   	int ptt;
   	int dcd;
   	int ptt_keyed;
-#if LINUX_VERSION_CODE < 0x20100
-  	struct enet_statistics stats;
-#endif
 };
 
 struct hdlcdrv_channel_state {
@@ -114,6 +103,9 @@
 /* -------------------------------------------------------------------- */
 
 #ifdef __KERNEL__
+
+#include <linux/netdevice.h>
+#include <linux/if.h>
 
 #define HDLCDRV_MAGIC      0x5ac6e778
 #define HDLCDRV_IFNAMELEN    6

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