linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Disable old EMAC driver in arch/powerpc
@ 2007-06-28  1:27 David Gibson
  0 siblings, 0 replies; only message in thread
From: David Gibson @ 2007-06-28  1:27 UTC (permalink / raw)
  To: Paul Mackerras; +Cc: linuxppc-dev

The EMAC driver, in drivers/net/ibm_emac, for the embedded Ethernet
MAC found in PowerPC 4xx embedded chips is not suitable for
arch/powerpc.  It will not build because it relies on the old arch/ppc
OCP mechanism.  BenH has a new, device-tree aware version of the
driver which will work in arch/powerpc, but until it's merged, this
patch will disable the old, non-building version.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>

Index: working-2.6/drivers/net/Kconfig
===================================================================
--- working-2.6.orig/drivers/net/Kconfig	2007-06-28 11:16:31.000000000 +1000
+++ working-2.6/drivers/net/Kconfig	2007-06-28 11:16:37.000000000 +1000
@@ -1187,7 +1187,7 @@
 
 config IBM_EMAC
 	tristate "PowerPC 4xx on-chip Ethernet support"
-	depends on 4xx
+	depends on 4xx && !PPC_MERGE
 	help
 	  This driver supports the PowerPC 4xx EMAC family of on-chip
           Ethernet controllers.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-06-28  1:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-28  1:27 Disable old EMAC driver in arch/powerpc David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).