aha/drivers/char/hw_random
Alexander Clouter 9c3c133b1e hwrng: timeriomem - New driver
Some hardware platforms, the TS-7800[1] is one for example, can
supply the kernel with an entropy source, albeit a slow one for
TS-7800 users, by just reading a particular IO address.  This
source must not be read above a certain rate otherwise the quality
suffers.

The driver is then hooked into by calling
platform_device_(register|add|del) passing a structure similar to:
------
static struct timeriomem_rng_data ts78xx_ts_rng_data = {
        .address        = (u32 *__iomem) TS_RNG,
        .period         = 1000000, /* one second */
};

static struct platform_device ts78xx_ts_rng_device = {
        .name           = "timeriomem_rng",
        .id             = -1,
        .dev            = {
                .platform_data  = &ts78xx_ts_rng_data,
        },
        .num_resources  = 0,
};
------

[1] http://www.embeddedarm.com/products/board-detail.php?product=TS-7800

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-02-22 12:03:56 +08:00
..
amd-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
core.c hw-random: BKL pushdown 2008-06-20 14:05:57 -06:00
geode-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
intel-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
ixp4xx-rng.c [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
Kconfig hwrng: timeriomem - New driver 2009-02-22 12:03:56 +08:00
Makefile hwrng: timeriomem - New driver 2009-02-22 12:03:56 +08:00
n2-asm.S sparc64: Add Niagara2 RNG driver. 2008-07-18 00:46:09 -07:00
n2-drv.c sparc64: Fix unsigned long long warnings in drivers. 2009-01-06 13:20:38 -08:00
n2rng.h sparc64: Add Niagara2 RNG driver. 2008-07-18 00:46:09 -07:00
omap-rng.c [ARM] omap: ensure OMAP drivers pass a struct device to clk_get() 2009-01-24 11:41:16 +00:00
pasemi-rng.c pasemi-rng: Use linux/of_platform.h instead of asm 2008-06-30 22:30:29 +10:00
timeriomem-rng.c hwrng: timeriomem - New driver 2009-02-22 12:03:56 +08:00
via-rng.c Tidy up addresses in random drivers 2008-10-27 08:39:52 -07:00
virtio-rng.c virtio: An entropy device, as suggested by hpa. 2008-05-30 15:09:44 +10:00