[PATCH 2.5] Allow 3c509 to build on PPC platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff,

This is quite sad, but Linux/PPC doesn't support MCA, and thus have no
asm/mca.h.

This patch allows 3c509 (ISA version) to build on PPC (and all other
MCA deprived platforms ;-).

Thanks,

        M.

diff -ruN linux-latest/drivers/net/3c509.c linux-eisa/drivers/net/3c509.c
--- linux-latest/drivers/net/3c509.c	2003-07-04 09:38:58.000000000 +0200
+++ linux-eisa/drivers/net/3c509.c	2003-07-04 09:39:56.000000000 +0200
@@ -74,7 +74,9 @@
 
 #include <linux/config.h>
 #include <linux/module.h>
+#ifdef CONFIG_MCA
 #include <linux/mca.h>
+#endif
 #include <linux/isapnp.h>
 #include <linux/string.h>
 #include <linux/interrupt.h>

-- 
Places change, faces change. Life is so very strange.
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux