Skip to contentSkip to conversation

fix CONFIG_AGP depencies

PATCH Mikael Pettersson 2 participants 2 messages Jan 16, 2005

lore
Share & tools
lore
#0 lore raw
Quoted 14 lines · Christoph Hellwig
Quoted 2 lines · Adrian Bunk

This doesn't seem to achieve what you want:
PPC is defined on ppc64...

*grmbl*

drivers/char/agp/Kconfig +0 -0
@@ -1,5 +1,6 @@

config AGP

drivers/char/agp/Kconfig +2 -1
-	tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU && !M68K && !ARM
+	tristate "/dev/agpgart (AGP Support)" if !GART_IOMMU
+	depends on ALPHA || IA64 || PPC32 || X86
Quoted 3 lines

default y if GART_IOMMU
---help---
AGP (Accelerated Graphics Port) is a bus system mainly used to

You're preventing the ppc64 kernel for Apple PowerMac G5s from including AGP support via CONFIG_AGP_UNINORTH. I doubt that's correct.

#1 lore raw
Quoted 3 lines · Mikael Pettersson

You're preventing the ppc64 kernel for Apple PowerMac G5s from including AGP support via CONFIG_AGP_UNINORTH. I doubt that's correct.

It is correct. In mainline AGP for the G5 isn't supported at all. On linuxppc64-dev there's a patch to support it on ppc32, but more work is required to make it work with ppc64. Once that's done the depency can be updated. Currently agp doesn't even compile on ppc64 due to a lacking <asm/agp.h> as I mentioned in the first mail.