patch-2.1.132 linux/drivers/net/3c515.c
Next file: linux/drivers/net/3c523.c
Previous file: linux/drivers/net/3c509.c
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Thu Dec 17 09:03:57 1998
- Orig file:
v2.1.131/linux/drivers/net/3c515.c
- Orig date:
Thu Nov 12 16:21:19 1998
diff -u --recursive --new-file v2.1.131/linux/drivers/net/3c515.c linux/drivers/net/3c515.c
@@ -39,16 +39,8 @@
#define RX_RING_SIZE 16
#define PKT_BUF_SZ 1536 /* Size of each temporary Rx buffer.*/
-#ifdef MODULE
-#ifdef MODVERSIONS
-#include <linux/modversions.h>
-#endif
#include <linux/module.h>
#include <linux/version.h>
-#else
-#define MOD_INC_USE_COUNT
-#define MOD_DEC_USE_COUNT
-#endif
#include <linux/kernel.h>
#include <linux/sched.h>
@@ -67,12 +59,9 @@
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
-#if (LINUX_VERSION_CODE >= 0x10344)
+
#define NEW_MULTICAST
#include <linux/delay.h>
-#else
-#define udelay(microsec) do { int _i = 4*microsec; while (--_i > 0) { __SLOW_DOWN_IO; }} while (0)
-#endif
/* Kernel version compatibility functions. */
#define RUN_AT(x) (jiffies + (x))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov