Skip to contentSkip to conversation

Don't allow hw_random to be selected on ia64

PATCH In review Matthew Wilcox 2 participants 2 messages Aug 14, 2004 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Don't allow hw_random to be selected on ia64

The hw_random driver includes some i386 asm so won't compile on ia64.

drivers/char/Kconfig +1 -1
diff -urpNX dontdiff linus-2.6/drivers/char/Kconfig parisc-2.6/drivers/char/Kconfig
@@ -689,7 +689,7 @@ config NWFLASH
 
 config HW_RANDOM
 	tristate "Intel/AMD/VIA HW Random Number Generator support"
-	depends on (X86 || IA64) && PCI
+	depends on X86 && PCI
 	---help---
 	  This driver provides kernel-side support for the Random Number
 	  Generator hardware found on Intel i8xx-based motherboards,
Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain
#1 lore raw
Quoted 1 line · Matthew Wilcox

The hw_random driver includes some i386 asm so won't compile on ia64.

Works fine here.

Andreas.

Signature · 4 lines
Andreas Schwab, SuSE Labs, [email protected]
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."