patch-2.2.11 linux/drivers/net/sk_mca.c
Next file: linux/drivers/net/sonic.c
Previous file: linux/drivers/net/sis900.c
Back to the patch index
Back to the overall index
- Lines: 56
- Date:
Mon Aug 9 12:05:05 1999
- Orig file:
v2.2.10/linux/drivers/net/sk_mca.c
- Orig date:
Mon Jun 7 14:34:54 1999
diff -u --recursive --new-file v2.2.10/linux/drivers/net/sk_mca.c linux/drivers/net/sk_mca.c
@@ -62,10 +62,16 @@
implemented LANCE multicast filter
Jun 6th, 1999
additions for Linux 2.2
+ Aug 2nd, 1999
+ small fixes (David Weinehall)
*************************************************************************/
+#include <linux/module.h>
+#include <linux/version.h>
+
#include <linux/kernel.h>
+#include <linux/version.h>
#include <linux/sched.h>
#include <linux/string.h>
#include <linux/errno.h>
@@ -79,11 +85,6 @@
#include <asm/bitops.h>
#include <asm/io.h>
-#ifdef MODULE
-#include <linux/module.h>
-#include <linux/version.h>
-#endif
-
#include <linux/netdevice.h>
#include <linux/etherdevice.h>
#include <linux/skbuff.h>
@@ -871,7 +872,7 @@
return &(priv->stat);
}
-/* we don't support runtime reconfiguration, since am MCA card can
+/* we don't support runtime reconfiguration, since an MCA card can
be unambigously identified by its POS registers. */
static int skmca_config(struct device *dev, struct ifmap *map)
@@ -962,9 +963,6 @@
getaddrs(slot, junior, &base, &irq, &medium);
-#if 0
- /* this should work, but it doesn't with 2.2.9 :-(
- somehow 'mca_is_adapter_used()' is missing in kernel syms... */
#if LINUX_VERSION_CODE >= 0x020200
/* slot already in use ? */
@@ -973,7 +971,6 @@
slot = dofind(&junior, slot + 1);
continue;
}
-#endif
#endif
/* were we looking for something different ? */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)