Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Aug 2013 17:26:25 -0700
From:      Arthur Mesh <arthurmesh@gmail.com>
To:        Dag-Erling Sm??rgrav <des@des.no>
Cc:        freebsd-arch@freebsd.org, secteam@freebsd.org, Philip Paeps <philip@freebsd.org>
Subject:   Re: random(4) plugin infrastructure for mulitple RNG in a modular fashion
Message-ID:  <20130816002625.GE76666@x96.org>
In-Reply-To: <20130815231713.GD76666@x96.org>
References:  <20130807183112.GA79319@dragon.NUXI.org> <86pptfnu33.fsf@nine.des.no> <20130815231713.GD76666@x96.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 15, 2013 at 04:17:13PM -0700, Arthur Mesh wrote:
> I agree that devices make more sense for yarrow/rdrand/nehemiah. We'll have a
> patch ready for review by so@ soon.

Are you okay with the following? If so, I'll ask obrien@ to commit it
and note the change in UPDATING. Also, how do we deal with i386/amd64
specific devices in LINT?

Thanks

Index: sys/amd64/conf/GENERIC
===================================================================
--- sys/amd64/conf/GENERIC	(revision 254389)
+++ sys/amd64/conf/GENERIC	(working copy)
@@ -292,8 +292,8 @@
 # Pseudo devices.
 device		loop		# Network loopback
 device		random		# Entropy device
-options 	PADLOCK_RNG	# VIA Padlock RNG
-options 	RDRAND_RNG	# Intel Bull Mountain RNG
+device		padlock_rng	# VIA Padlock RNG
+device		rdrand_rng	# Intel Bull Mountain RNG
 device		ether		# Ethernet support
 device		vlan		# 802.1Q VLAN support
 device		tun		# Packet tunnel.
Index: sys/conf/options.amd64
===================================================================
--- sys/conf/options.amd64	(revision 254389)
+++ sys/conf/options.amd64	(working copy)
@@ -68,7 +68,3 @@
 
 # options for the Intel C600 SAS driver (isci)
 ISCI_LOGGING	opt_isci.h
-
-# hw random number generators for random(4)
-PADLOCK_RNG		opt_cpu.h
-RDRAND_RNG		opt_cpu.h
Index: sys/conf/options.i386
===================================================================
--- sys/conf/options.i386	(revision 254389)
+++ sys/conf/options.i386	(working copy)
@@ -123,7 +123,3 @@
 
 # options for the Intel C600 SAS driver (isci)
 ISCI_LOGGING	opt_isci.h
-
-# hw random number generators for random(4)
-PADLOCK_RNG		opt_cpu.h
-RDRAND_RNG		opt_cpu.h
Index: sys/i386/conf/GENERIC
===================================================================
--- sys/i386/conf/GENERIC	(revision 254389)
+++ sys/i386/conf/GENERIC	(working copy)
@@ -306,8 +306,8 @@
 # Pseudo devices.
 device		loop		# Network loopback
 device		random		# Entropy device
-options 	PADLOCK_RNG	# VIA Padlock RNG
-options 	RDRAND_RNG	# Intel Bull Mountain RNG
+device		padlock_rng	# VIA Padlock RNG
+device		rdrand_rng	# Intel Bull Mountain RNG
 device		ether		# Ethernet support
 device		vlan		# 802.1Q VLAN support
 device		tun		# Packet tunnel.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130816002625.GE76666>