Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch The rnd pseudo-device is not really optional, becau...



details:   https://anonhg.NetBSD.org/src/rev/de0707be7194
branches:  trunk
changeset: 771481:de0707be7194
user:      tls <tls%NetBSD.org@localhost>
date:      Tue Nov 22 21:24:51 2011 +0000

description:
The rnd pseudo-device is not really optional, because it is in the same
source file as the entropy-pool code itself.  Move it to std.  This
will be cleaned up more when I split the sources up as they should be.

This fixes build breaks on several ports.  Thanks to Havard Eidnes for
pointing them out.

diffstat:

 sys/arch/acorn26/conf/FOURMEG       |  4 +---
 sys/arch/acorn26/conf/GENERIC       |  3 +--
 sys/arch/acorn26/conf/INSTALL       |  4 +---
 sys/arch/acorn32/conf/EB7500ATX     |  5 ++---
 sys/arch/acorn32/conf/GENERIC       |  5 ++---
 sys/arch/acorn32/conf/INSTALL       |  5 ++---
 sys/arch/acorn32/conf/LOWMEM_WSCONS |  3 +--
 sys/arch/acorn32/conf/NC            |  3 +--
 sys/arch/algor/conf/P4032           |  5 ++---
 sys/arch/algor/conf/P5064           |  5 ++---
 sys/arch/algor/conf/P6032           |  5 ++---
 sys/arch/alpha/conf/GENERIC         |  5 ++---
 sys/arch/alpha/conf/INSTALL         |  3 +--
 sys/arch/amd64/conf/GENERIC         |  5 ++---
 sys/arch/amd64/conf/XEN3_DOM0       |  3 +--
 sys/arch/amd64/conf/XEN3_DOMU       |  3 +--
 sys/arch/amiga/conf/DRACO           |  5 ++---
 sys/arch/amiga/conf/GENERIC         |  5 ++---
 sys/arch/amiga/conf/GENERIC.in      |  5 ++---
 sys/arch/amiga/conf/INSTALL         |  5 ++---
 sys/arch/amiga/conf/MDINSTALL       |  4 +---
 sys/arch/amigappc/conf/GENERIC      |  5 ++---
 sys/arch/amigappc/conf/NULL         |  5 ++---
 sys/arch/arc/conf/ARCTIC            |  3 +--
 sys/arch/arc/conf/GENERIC           |  5 ++---
 sys/arch/arc/conf/M403              |  3 +--
 sys/arch/arc/conf/MIMORI            |  3 +--
 sys/arch/arc/conf/PICA              |  3 +--
 sys/arch/arc/conf/RPC44             |  5 ++---
 sys/arch/atari/conf/ATARITT         |  3 +--
 sys/arch/atari/conf/FALCON          |  3 +--
 sys/arch/atari/conf/GENERIC.in      |  3 +--
 sys/arch/atari/conf/HADES           |  3 +--
 sys/arch/atari/conf/MILAN-ISAIDE    |  3 +--
 sys/arch/atari/conf/MILAN-PCIIDE    |  3 +--
 sys/arch/bebox/conf/GENERIC         |  5 ++---
 sys/arch/bebox/conf/INSTALL         |  3 +--
 sys/arch/cats/conf/GENERIC          |  3 +--
 sys/arch/cats/conf/INSTALL          |  3 +--
 sys/arch/cesfic/conf/GENERIC        |  3 +--
 sys/arch/cobalt/conf/GENERIC        |  5 ++---
 sys/arch/cobalt/conf/INSTALL        |  5 ++---
 sys/arch/dreamcast/conf/GENERIC     |  3 +--
 43 files changed, 62 insertions(+), 108 deletions(-)

diffs (truncated from 897 to 300 lines):

diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn26/conf/FOURMEG
--- a/sys/arch/acorn26/conf/FOURMEG     Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn26/conf/FOURMEG     Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: FOURMEG,v 1.38 2011/03/06 17:08:18 bouyer Exp $
+# $NetBSD: FOURMEG,v 1.39 2011/11/22 21:24:51 tls Exp $
 
 # FOURMEG arm26 configuration -- something small
 
@@ -200,5 +200,3 @@
 pseudo-device  wsmux                   # keyboard/mouse multiplexor
 pseudo-device  clockctl                # user control of clock subsystem
 
-# rnd is EXPERIMENTAL
-#pseudo-device rnd                     # /dev/random and in-kernel generator
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn26/conf/GENERIC
--- a/sys/arch/acorn26/conf/GENERIC     Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn26/conf/GENERIC     Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.64 2011/03/06 17:08:18 bouyer Exp $
+# $NetBSD: GENERIC,v 1.65 2011/11/22 21:24:51 tls Exp $
 #
 # GENERIC machine description file
 # 
@@ -260,7 +260,6 @@
 pseudo-device  agr                     # IEEE 802.3ad link aggregation
 pseudo-device  sequencer       1       # MIDI sequencer
 pseudo-device  wsmux                   # keyboard/mouse multiplexor
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  ksyms                   # /dev/ksyms
 #pseudo-device pf                      # PF packet filter
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn26/conf/INSTALL
--- a/sys/arch/acorn26/conf/INSTALL     Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn26/conf/INSTALL     Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.32 2011/03/06 17:08:18 bouyer Exp $
+# $NetBSD: INSTALL,v 1.33 2011/11/22 21:24:51 tls Exp $
 
 # INSTALL configuration, used to generate installation media
 
@@ -207,5 +207,3 @@
 #pseudo-device sequencer       1       # MIDI sequencer
 pseudo-device  wsmux                   # keyboard/mouse multiplexor
 
-# rnd is EXPERIMENTAL
-pseudo-device  rnd                     # /dev/random and in-kernel generator
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn32/conf/EB7500ATX
--- a/sys/arch/acorn32/conf/EB7500ATX   Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn32/conf/EB7500ATX   Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: EB7500ATX,v 1.44 2011/06/30 20:09:17 wiz Exp $
+#      $NetBSD: EB7500ATX,v 1.45 2011/11/22 21:24:51 tls Exp $
 #
 #      EB7500ATX --- NetBSD/acorn32 complete configuration
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "EB7500ATX-$Revision: 1.44 $"
+#ident         "EB7500ATX-$Revision: 1.45 $"
 
 # estimated number of users
 maxusers       32
@@ -277,7 +277,6 @@
 # options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 #pseudo-device fss                     # file system snapshot device
 pseudo-device  md                      # Ramdisk driver
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  ksyms                   # /dev/ksyms
 #pseudo-device pf                      # PF packet filter
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn32/conf/GENERIC
--- a/sys/arch/acorn32/conf/GENERIC     Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn32/conf/GENERIC     Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: GENERIC,v 1.99 2011/06/30 20:09:17 wiz Exp $
+#      $NetBSD: GENERIC,v 1.100 2011/11/22 21:24:51 tls Exp $
 #
 #      GENERIC --- NetBSD/acorn32 complete configuration
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "GENERIC-$Revision: 1.99 $"
+#ident         "GENERIC-$Revision: 1.100 $"
 
 # estimated number of users
 maxusers       32
@@ -338,7 +338,6 @@
 # options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 pseudo-device  fss                     # file system snapshot device
 pseudo-device  md                      # Ramdisk driver
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 pseudo-device  clockctl                # user control of clock subsystem
 pseudo-device  ksyms                   # /dev/ksyms
 #pseudo-device pf                      # PF packet filter
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn32/conf/INSTALL
--- a/sys/arch/acorn32/conf/INSTALL     Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn32/conf/INSTALL     Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: INSTALL,v 1.60 2011/06/30 20:09:17 wiz Exp $
+#      $NetBSD: INSTALL,v 1.61 2011/11/22 21:24:51 tls Exp $
 #
 #      INSTALL -- NetBSD/acorn32 install configuration
 #
@@ -22,7 +22,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident         "INSTALL-$Revision: 1.60 $"
+#ident         "INSTALL-$Revision: 1.61 $"
 
 # estimated number of users
 maxusers       32
@@ -326,7 +326,6 @@
 # options      RF_INCLUDE_PARITY_DECLUSTERING_DS=1
 #pseudo-device fss                     # file system snapshot device
 pseudo-device  md                      # Ramdisk driver
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 
 # If the standard modes don't work for your monitor, you can specify
 # a RISC-OS-format monitor definition file and a list of modes here.
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn32/conf/LOWMEM_WSCONS
--- a/sys/arch/acorn32/conf/LOWMEM_WSCONS       Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn32/conf/LOWMEM_WSCONS       Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: LOWMEM_WSCONS,v 1.56 2011/03/06 17:08:18 bouyer Exp $
+#      $NetBSD: LOWMEM_WSCONS,v 1.57 2011/11/22 21:24:52 tls Exp $
 #
 #      LOWMEM_WSCONS -- RiscPC config with wscons for SMALL machines
 #
@@ -284,7 +284,6 @@
 #pseudo-device ccd     2               # concatenated disk devices
 #pseudo-device fss                     # file system snapshot device
 pseudo-device  md                      # Ramdisk driver
-pseudo-device  rnd                     # /dev/random and /dev/urandom
 pseudo-device  clockctl                # user control of clock subsystem
 
 # If the standard modes don't work for your monitor, you can specify
diff -r 829319873eb2 -r de0707be7194 sys/arch/acorn32/conf/NC
--- a/sys/arch/acorn32/conf/NC  Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/acorn32/conf/NC  Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: NC,v 1.54 2011/03/06 17:08:18 bouyer Exp $
+#      $NetBSD: NC,v 1.55 2011/11/22 21:24:52 tls Exp $
 #
 #      NC - with wscons
 #
@@ -274,7 +274,6 @@
 #pseudo-device ccd     2               # concatenated disk devices
 #pseudo-device fss                     # file system snapshot device
 pseudo-device  md                      # Ramdisk driver
-pseudo-device  rnd                     # /dev/random and /dev/urandom
 pseudo-device  clockctl                # user control of clock subsystem
 
 # a pseudo device needed for SMBFS
diff -r 829319873eb2 -r de0707be7194 sys/arch/algor/conf/P4032
--- a/sys/arch/algor/conf/P4032 Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/algor/conf/P4032 Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P4032,v 1.59 2011/07/17 23:39:46 dyoung Exp $
+#      $NetBSD: P4032,v 1.60 2011/11/22 21:24:52 tls Exp $
 #
 # Algorithmics P-4032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P4032-$Revision: 1.59 $"
+#ident                 "P4032-$Revision: 1.60 $"
 
 maxusers 32
 
@@ -330,6 +330,5 @@
 pseudo-device  stf                     # 6to4 IPv6 over IPv4 encapsulation
 pseudo-device  vlan                    # IEEE 802.1q encapsulation
 pseudo-device  sequencer       1       # MIDI sequencer
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 #options       RND_COM                 # use "com" randomness too
 pseudo-device  clockctl                # user control of clock subsystem
diff -r 829319873eb2 -r de0707be7194 sys/arch/algor/conf/P5064
--- a/sys/arch/algor/conf/P5064 Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/algor/conf/P5064 Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P5064,v 1.68 2011/07/17 23:39:46 dyoung Exp $
+#      $NetBSD: P5064,v 1.69 2011/11/22 21:24:52 tls Exp $
 #
 # Algorithmics P-5064 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P5064-$Revision: 1.68 $"
+#ident                 "P5064-$Revision: 1.69 $"
 
 maxusers 32
 
@@ -394,6 +394,5 @@
 pseudo-device  stf                     # 6to4 IPv6 over IPv4 encapsulation
 pseudo-device  vlan                    # IEEE 802.1q encapsulation
 pseudo-device  sequencer       1       # MIDI sequencer
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 #options       RND_COM                 # use "com" randomness too
 pseudo-device  clockctl                # user control of clock subsystem
diff -r 829319873eb2 -r de0707be7194 sys/arch/algor/conf/P6032
--- a/sys/arch/algor/conf/P6032 Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/algor/conf/P6032 Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: P6032,v 1.60 2011/07/09 17:13:32 dyoung Exp $
+#      $NetBSD: P6032,v 1.61 2011/11/22 21:24:53 tls Exp $
 #
 # Algorithmics P-6032 kernel.
 #
@@ -7,7 +7,7 @@
 
 #options       INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "P6032-$Revision: 1.60 $"
+#ident                 "P6032-$Revision: 1.61 $"
 
 maxusers 32
 
@@ -399,6 +399,5 @@
 pseudo-device  stf                     # 6to4 IPv6 over IPv4 encapsulation
 pseudo-device  vlan                    # IEEE 802.1q encapsulation
 pseudo-device  sequencer       1       # MIDI sequencer
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 #options       RND_COM                 # use "com" randomness too
 pseudo-device  clockctl                # user control of clock subsystem
diff -r 829319873eb2 -r de0707be7194 sys/arch/alpha/conf/GENERIC
--- a/sys/arch/alpha/conf/GENERIC       Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/alpha/conf/GENERIC       Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.341 2011/07/23 21:12:57 jakllsch Exp $
+# $NetBSD: GENERIC,v 1.342 2011/11/22 21:24:53 tls Exp $
 #
 # This machine description file is used to generate the default NetBSD
 # kernel.
@@ -19,7 +19,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-ident          "GENERIC-$Revision: 1.341 $"
+ident          "GENERIC-$Revision: 1.342 $"
 
 maxusers 32
 
@@ -736,7 +736,6 @@
 #options       BRIDGE_IPF              # bridge uses IP/IPv6 pfil hooks too
 pseudo-device  agr                     # IEEE 802.3ad link aggregation
 pseudo-device  sequencer       1       # MIDI sequencer
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 #options       RND_COM                 # use "com" randomness too
 # a pseudo device needed for Coda      # also needs CODA (above)
 pseudo-device  vcoda           4       # coda minicache <-> venus comm.
diff -r 829319873eb2 -r de0707be7194 sys/arch/alpha/conf/INSTALL
--- a/sys/arch/alpha/conf/INSTALL       Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/alpha/conf/INSTALL       Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: INSTALL,v 1.100 2010/11/23 11:13:53 hannken Exp $
+# $NetBSD: INSTALL,v 1.101 2011/11/22 21:24:54 tls Exp $
 #
 # Alpha INSTALL kernel.
 
@@ -346,5 +346,4 @@
 pseudo-device  pty             2       # pseudo-terminals (Sysinst needs two)
 pseudo-device  sl              
 
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 #pseudo-device fss                     # file system snapshot device
diff -r 829319873eb2 -r de0707be7194 sys/arch/amd64/conf/GENERIC
--- a/sys/arch/amd64/conf/GENERIC       Tue Nov 22 20:22:09 2011 +0000
+++ b/sys/arch/amd64/conf/GENERIC       Tue Nov 22 21:24:51 2011 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: GENERIC,v 1.339 2011/11/13 12:46:40 mbalmer Exp $
+# $NetBSD: GENERIC,v 1.340 2011/11/22 21:24:54 tls Exp $
 #
 # GENERIC machine description file
 #
@@ -22,7 +22,7 @@
 
 options        INCLUDE_CONFIG_FILE     # embed config file in kernel binary
 
-#ident                 "GENERIC-$Revision: 1.339 $"
+#ident                 "GENERIC-$Revision: 1.340 $"
 
 maxusers       64              # estimated number of users
 
@@ -1184,7 +1184,6 @@
 pseudo-device  pty                     # pseudo-terminals
 pseudo-device  sequencer       1       # MIDI sequencer
 # rnd works; RND_COM does not on port i386 yet.
-pseudo-device  rnd                     # /dev/random and in-kernel generator
 #options       RND_COM                 # use "com" randomness as well (BROKEN)
 pseudo-device  clockctl                # user control of clock subsystem



Home | Main Index | Thread Index | Old Index