linux-stable/drivers/char/hw_random
Ian Molton bb347d9807 hwrng: virtio-rng - Convert to new API
This patch converts virtio-rng to the new hw_rng API.

In the process it fixes a previously untriggered buffering bug where the
buffer is not drained correctly if it has a non-multiple-of-4 length.

Performance has improved under qemu-kvm testing also.

Signed-off-by: Ian Molton <ian.molton@collabora.co.uk>
Acked-by: Matt Mackall <mpm@selenic.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2009-12-01 15:26:33 +08:00
..
amd-rng.c hwrng: Use PCI_VDEVICE 2009-06-25 13:50:53 +08:00
core.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-12-01 15:16:22 +08:00
geode-rng.c hwrng: Use PCI_VDEVICE 2009-06-25 13:50:53 +08:00
intel-rng.c Remove multiple KERN_ prefixes from printk formats 2009-07-08 10:30:03 -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 MIPS: hw_random: Add hardware RNG for Octeon SOCs. 2009-09-17 20:07:51 +02:00
Makefile MIPS: hw_random: Add hardware RNG for Octeon SOCs. 2009-09-17 20:07:51 +02:00
mxc-rnga.c i.MX31: Add hw-random for RNGA 2009-05-07 16:17:16 +02: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
octeon-rng.c MIPS: hw_random: Add hardware RNG for Octeon SOCs. 2009-09-17 20:07:51 +02:00
omap-rng.c omap: rng: Use resource_size instead of manual calculation 2009-09-24 16:23:18 -07: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 - Fix potential oops (request_mem_region/__devinit) 2009-06-03 19:28:03 +10:00
tx4939-rng.c MIPS: hwrng: Add TX4939 RNG driver 2009-06-17 11:06:27 +01:00
via-rng.c hwrng: via_rng - Support VIA Nano hardware RNG 2009-06-02 14:04:53 +10:00
virtio-rng.c hwrng: virtio-rng - Convert to new API 2009-12-01 15:26:33 +08:00