patch-2.1.116 linux/drivers/net/3c509.c
Next file: linux/drivers/net/de4x5.c
Previous file: linux/drivers/net/3c505.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Sun Aug 9 10:42:41 1998
- Orig file:
v2.1.115/linux/drivers/net/3c509.c
- Orig date:
Tue Jul 28 14:21:08 1998
diff -u --recursive --new-file v2.1.115/linux/drivers/net/3c509.c linux/drivers/net/3c509.c
@@ -178,6 +178,9 @@
}
#ifdef CONFIG_MCA
+#warning "The MCA code in drivers/net/3c509.c does not compile"
+#warning "See http://glycerine.itsmm.uni.edu/mca/ for patches."
+#if 0
if (MCA_bus) {
mca_adaptor_select_mode(1);
for (i = 0; i < 8; i++)
@@ -195,6 +198,7 @@
}
#endif
+#endif
/* Reset the ISA PnP mechanism on 3c509b. */
outb(0x02, 0x279); /* Select PnP config control register. */
@@ -208,7 +212,7 @@
if (inb(id_port) & 0x01)
break;
}
- if (id_port >= 0x200) { /* GCC optimizes this test out. */
+ if (id_port >= 0x200) {
/* Rare -- do we really need a warning? */
printk(" WARNING: No I/O port available for 3c509 activation.\n");
return -ENODEV;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov