patch-2.4.2 linux/drivers/net/ibmlana.c
Next file: linux/drivers/net/ioc3-eth.c
Previous file: linux/drivers/net/i82586.h
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Tue Feb 13 13:15:05 2001
- Orig file:
v2.4.1/linux/drivers/net/ibmlana.c
- Orig date:
Mon Dec 11 13:38:29 2000
diff -u --recursive --new-file v2.4.1/linux/drivers/net/ibmlana.c linux/drivers/net/ibmlana.c
@@ -2,7 +2,7 @@
net-3-driver for the IBM LAN Adapter/A
This is an extension to the Linux operating system, and is covered by the
-same Gnu Public License that covers that work.
+same GNU General Public License that covers that work.
Copyright 1999 by Alfred Arnold (alfred@ccac.rwth-aachen.de, aarnold@elsa.de)
@@ -78,7 +78,7 @@
#include <linux/string.h>
#include <linux/errno.h>
#include <linux/ioport.h>
-#include <linux/malloc.h>
+#include <linux/slab.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/time.h>
@@ -621,6 +621,7 @@
/* bookkeeping */
+ dev->last_rx = jiffies;
priv->stat.rx_packets++;
#if (LINUX_VERSION_CODE >= 0x20119) /* byte counters for kernel >= 2.1.25 */
priv->stat.rx_bytes += rda.length;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)