[PATCH] ppc64 Disable some drivers broken on 64bit

Anton Blanchard anton at samba.org
Fri Sep 17 04:26:44 EST 2004


The mace, bmac and dmasound drivers use virt_to_bus and so will not work
on ppc64. Reflect this in the relevant Kconfig files.

Signed-off-by: Anton Blanchard <anton at samba.org>

===== drivers/net/Kconfig 1.91 vs edited =====
--- 1.91/drivers/net/Kconfig	Fri Sep  3 19:08:21 2004
+++ edited/drivers/net/Kconfig	Fri Sep 17 04:16:43 2004
@@ -200,7 +200,7 @@
 
 config MACE
 	tristate "MACE (Power Mac ethernet) support"
-	depends on NET_ETHERNET && PPC_PMAC
+	depends on NET_ETHERNET && PPC32 && PPC_PMAC
 	select CRC32
 	help
 	  Power Macintoshes and clones with Ethernet built-in on the
@@ -223,7 +223,7 @@
 
 config BMAC
 	tristate "BMAC (G3 ethernet) support"
-	depends on NET_ETHERNET && PPC_PMAC
+	depends on NET_ETHERNET && PPC32 && PPC_PMAC
 	select CRC32
 	help
 	  Say Y for support of BMAC Ethernet interfaces. These are used on G3
===== sound/oss/dmasound/Kconfig 1.5 vs edited =====
--- 1.5/sound/oss/dmasound/Kconfig	Tue Dec 30 19:45:02 2003
+++ edited/sound/oss/dmasound/Kconfig	Fri Sep 17 04:16:24 2004
@@ -14,7 +14,7 @@
 
 config DMASOUND_PMAC
 	tristate "PowerMac DMA sound support"
-	depends on PPC_PMAC && SOUND && I2C
+	depends on PPC32 && PPC_PMAC && SOUND && I2C
  	select DMASOUND
 	help
 	  If you want to use the internal audio of your PowerMac in Linux,



More information about the Linuxppc64-dev mailing list