[PATCH] hwrng: ppc4xx - add support for ppc4xx TRNG
Matt Mackall
mpm at selenic.com
Wed Jun 22 04:59:55 EST 2011
On Tue, 2011-06-21 at 11:38 -0500, Kim Phillips wrote:
> [adding linux-crypto]
>
> On Tue, 21 Jun 2011 10:56:02 -0500
> Matt Mackall <mpm at selenic.com> wrote:
>
> > On Tue, 2011-06-21 at 08:19 -0400, Josh Boyer wrote:
> > > +static struct hwrng ppc4xx_rng = {
> > > + .name = MODULE_NAME,
> > > + .data_present = ppc4xx_rng_data_present,
> > > + .data_read = ppc4xx_rng_data_read,
> > > +};
>
> under what criteria should new hwrng drivers use the new hwrng API?
If the RNG is not fundamentally u32-based (like this one), it's strongly
encouraged. We'll eventually abandon the old interface, but I don't
think there's any hurry.
--
Mathematics is the supreme nostalgia of our time.
More information about the Linuxppc-dev
mailing list