mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Don't always ask about Intel or AMD RNGs
@ 2002-04-03 14:56 Tom Rini
  0 siblings, 0 replies; only message in thread
From: Tom Rini @ 2002-04-03 14:56 UTC (permalink / raw)
  To: Marcelo Tosatti, linux-kernel

Hello.  The following patch hides the option for Intel (i8x0) RNG
support.  I suspect this is an ia32-only option, but since it's possible
that it's used on ia64 as well, this tests for both.  By similar logic,
the AMD (768) RNG support is only asked for on ia32 and x86-64.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

===== drivers/char/Config.in 1.19 vs edited =====
--- 1.19/drivers/char/Config.in	Fri Mar 29 07:49:29 2002
+++ edited/drivers/char/Config.in	Wed Apr  3 07:52:57 2002
@@ -217,8 +217,12 @@
    tristate 'NetWinder flash support' CONFIG_NWFLASH
 fi
 
-dep_tristate 'AMD 768 Random Number Generator support' CONFIG_AMD_RNG $CONFIG_PCI
-dep_tristate 'Intel i8x0 Random Number Generator support' CONFIG_INTEL_RNG $CONFIG_PCI
+if [ "$CONFIG_X86" = "y" -o "$CONFIG_X86_64" = "y" ]; then
+   dep_tristate 'AMD 768 Random Number Generator support' CONFIG_AMD_RNG $CONFIG_PCI
+fi
+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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-03 14:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-03 14:56 [PATCH] Don't always ask about Intel or AMD RNGs Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®