patch-2.4.20 linux-2.4.20/drivers/net/macmace.c
Next file: linux-2.4.20/drivers/net/macsonic.c
Previous file: linux-2.4.20/drivers/net/mac89x0.c
Back to the patch index
Back to the overall index
- Lines: 25
- Date:
Thu Nov 28 15:53:14 2002
- Orig file:
linux-2.4.19/drivers/net/macmace.c
- Orig date:
Fri Aug 2 17:39:44 2002
diff -urN linux-2.4.19/drivers/net/macmace.c linux-2.4.20/drivers/net/macmace.c
@@ -16,6 +16,7 @@
#include <linux/kernel.h>
+#include <linux/module.h>
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/delay.h>
@@ -182,7 +183,6 @@
int mace_probe(struct net_device *unused)
{
int j;
- static int once;
struct mace_data *mp;
unsigned char *addr;
struct net_device *dev;
@@ -447,7 +447,7 @@
{
struct mace_data *mp = (struct mace_data *) dev->priv;
volatile struct mace *mb = mp->mace;
- int i, j, k, b;
+ int i, j;
u32 crc;
u8 maccc;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)