Patch to drivers/video/Kconfig [4 of 4]
Fix undefined symbol errors in "make config" on architectures that do not have I2C (sparc, primarily)
Apply against 2.6.9-rc4.
diff -u drivers/video/Kconfig.orig drivers/video/Kconfig
video/Kconfig renamed from video/Kconfig.orig +4 -3
@@ -428,8 +428,6 @@ config FB_RIVA tristate "nVidia Riva support" depends on FB && PCI - select I2C_ALGOBIT if FB_RIVA_I2C - select I2C if FB_RIVA_I2C select FB_MODE_HELPERS help This driver supports graphics boards with the nVidia Riva/Geforce
@@ -441,7 +439,7 @@ config FB_RIVA_I2C bool "Enable DDC Support" - depends on FB_RIVA + depends on FB_RIVA && I2C && I2C_ALGOBIT help This enables I2C support for nVidia Chipsets. This is used only for getting EDID information from the attached display
@@ -451,6 +449,9 @@ independently validate video mode parameters, you should say Y here. +comment "You must enable I2C and I2C_ALGOBIT for nVidia Riva DDC Support." + depends on !(I2C && I2C_ALGOBIT) && FB_RIVA + config FB_RIVA_DEBUG bool "Lots of debug output from Riva(nVidia) driver" depends on FB_RIVA
Quoted 2 lines · Jim Nelson
Fix undefined symbol errors in "make config" on architectures that do not have I2C (sparc, primarily)
Why doesn't SPARC have i2c? If it has PCI and nVidia (and some other) graphics cards, it has i2c.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Quoted 13 lines · Geert Uytterhoeven
Quoted 4 lines · Jim Nelson
Fix undefined symbol errors in "make config" on architectures that do not have I2C (sparc, primarily)
Why doesn't SPARC have i2c? If it has PCI and nVidia (and some other) graphics cards, it has i2c.
It isn't included in arch/sparc/Kconfig. Would it be better to enable I2C in the main SPARC Kconfig and mark it experimental until someone with a SPARC32 PCI system gets a chance to test it? My SPARC system is SBus.