Skip to contentSkip to conversation

hide onboard graphics drivers on G5

PATCH New Olaf Hering 1 participant 1 message Jul 24, 2006 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hide onboard graphics drivers on G5

Hide the video drivers for onboard graphics found in early PCI PowerMacs in Apple G5 config files.

drivers/built-in.o: In function `.platinumfb_probe':
platinumfb.c:(.text+0x377a0): undefined reference to .nvram_read_byte' platinumfb.c:(.text+0x37830): undefined reference to .nvram_read_byte' drivers/built-in.o: In function `.control_init':
controlfb.c:(.init.text+0x1938): undefined reference to .nvram_read_byte' controlfb.c:(.init.text+0x1968): undefined reference to .nvram_read_byte' drivers/built-in.o: In function `.valkyriefb_init':
(.init.text+0x2300): undefined reference to .nvram_read_byte' drivers/built-in.o:(.init.text+0x239c): more undefined references to .nvram_read_byte' follow

---
 drivers/video/Kconfig |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
drivers/video/Kconfig +4 -4
Index: linux-2.6.18-rc2/drivers/video/Kconfig
===================================================================
@@ -420,7 +420,7 @@ config FB_OF
 
 config FB_CONTROL
 	bool "Apple \"control\" display support"
-	depends on (FB = y) && PPC_PMAC
+	depends on (FB = y) && PPC_PMAC && PPC32
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
@@ -431,7 +431,7 @@ config FB_CONTROL
 
 config FB_PLATINUM
 	bool "Apple \"platinum\" display support"
-	depends on (FB = y) && PPC_PMAC
+	depends on (FB = y) && PPC_PMAC && PPC32
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
@@ -442,7 +442,7 @@ config FB_PLATINUM
 
 config FB_VALKYRIE
 	bool "Apple \"valkyrie\" display support"
-	depends on (FB = y) && (MAC || PPC_PMAC)
+	depends on (FB = y) && (MAC || (PPC_PMAC && PPC32))
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT
@@ -453,7 +453,7 @@ config FB_VALKYRIE
 
 config FB_CT65550
 	bool "Chips 65550 display support"
-	depends on (FB = y) && PPC
+	depends on (FB = y) && PPC32
 	select FB_CFB_FILLRECT
 	select FB_CFB_COPYAREA
 	select FB_CFB_IMAGEBLIT