freebsd-dev/sys/powerpc
David E. O'Brien 99ff83da74 Decouple yarrow from random(4) device.
* Make Yarrow an optional kernel component -- enabled by "YARROW_RNG" option.
  The files sha2.c, hash.c, randomdev_soft.c and yarrow.c comprise yarrow.

* random(4) device doesn't really depend on rijndael-*.  Yarrow, however, does.

* Add random_adaptors.[ch] which is basically a store of random_adaptor's.
  random_adaptor is basically an adapter that plugs in to random(4).
  random_adaptor can only be plugged in to random(4) very early in bootup.
  Unplugging random_adaptor from random(4) is not supported, and is probably a
  bad idea anyway, due to potential loss of entropy pools.
  We currently have 3 random_adaptors:
  + yarrow
  + rdrand (ivy.c)
  + nehemeiah

* Remove platform dependent logic from probe.c, and move it into
  corresponding registration routines of each random_adaptor provider.
  probe.c doesn't do anything other than picking a specific random_adaptor
  from a list of registered ones.

* If the kernel doesn't have any random_adaptor adapters present then the
  creation of /dev/random is postponed until next random_adaptor is kldload'ed.

* Fix randomdev_soft.c to refer to its own random_adaptor, instead of a
  system wide one.

Submitted by: arthurmesh@gmail.com, obrien
Obtained from: Juniper Networks
Reviewed by: obrien
2013-07-29 20:26:27 +00:00
..
aim Introduce new structure sfstat for collecting sendfile's statistics 2013-07-15 06:16:57 +00:00
booke Introduce new structure sfstat for collecting sendfile's statistics 2013-07-15 06:16:57 +00:00
conf Decouple yarrow from random(4) device. 2013-07-29 20:26:27 +00:00
cpufreq
fpu
include Revert r253748,253749 2013-07-28 18:44:17 +00:00
mambo
mpc85xx
ofw Increase the size of the OFW bounce buffer to 4 pages. With this I can now run 2013-07-24 02:01:01 +00:00
powermac Only check fan type once. Not only is continuously rechecking pointless, a 2013-05-05 22:42:10 +00:00
powerpc Include sys/systm.h after sys/param.h. 2013-07-15 15:40:57 +00:00
ps3
psim - With the demise of !ATA_CAM, ATA_STATIC_ID is the only ata(4) related 2013-04-06 19:12:49 +00:00
wii Fix indentation. 2013-07-02 07:17:56 +00:00