]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Don't always ask about Intel RNGs
authorTom Rini <trini@kernel.crashing.org>
Mon, 15 Jul 2002 05:59:21 +0000 (22:59 -0700)
committerTom Rini <trini@kernel.crashing.org>
Mon, 15 Jul 2002 05:59:21 +0000 (22:59 -0700)
 Hello.  The following patch hides the option for Intel (i8x0) RNG
 support when it's not a useful option.  This is based off of a patch
 That was accepted in 2.4.19-pre6.  While I suspect this is an ia32-only
 option, it is possible that it's used on ia64 as well, so we test for
 both before offering Intel i8x0 RNG support.

drivers/char/Config.in

index 9d7ec0b30b2b2f487750e8cb607e6a4d29e22ec5..ccce94f8fd26251291ce51306f34b52d61a1215f 100644 (file)
@@ -171,7 +171,9 @@ if [ "$CONFIG_ARCH_NETWINDER" = "y" ]; then
    tristate 'NetWinder flash support' CONFIG_NWFLASH
 fi
 
-dep_tristate 'Intel i8x0 Random Number Generator support' CONFIG_INTEL_RNG $CONFIG_PCI
+if [ "$CONFIG_X86" = "y" -o "$CONFIG_IA64" = "y" ]; then
+   dep_tristate 'Intel i8x0 Random Number Generator support' CONFIG_INTEL_RNG $CONFIG_PCI
+fi
 tristate '/dev/nvram support' CONFIG_NVRAM
 tristate 'Enhanced Real Time Clock Support' CONFIG_RTC
 if [ "$CONFIG_IA64" = "y" ]; then