* Re: [PATCH] hwrng: ppc4xx - add support for ppc4xx TRNG
[not found] ` <1308671762.4954.0.camel@calx>
@ 2011-06-21 16:38 ` Kim Phillips
2011-06-21 18:59 ` Matt Mackall
0 siblings, 1 reply; 2+ messages in thread
From: Kim Phillips @ 2011-06-21 16:38 UTC (permalink / raw)
To: Matt Mackall; +Cc: Josh Boyer, linuxppc-dev, Herbert Xu, linux-crypto
[adding linux-crypto]
On Tue, 21 Jun 2011 10:56:02 -0500
Matt Mackall <mpm@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?
See commit bb347d9 "hwrng: virtio-rng - Convert to new API".
Kim
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] hwrng: ppc4xx - add support for ppc4xx TRNG
2011-06-21 16:38 ` [PATCH] hwrng: ppc4xx - add support for ppc4xx TRNG Kim Phillips
@ 2011-06-21 18:59 ` Matt Mackall
0 siblings, 0 replies; 2+ messages in thread
From: Matt Mackall @ 2011-06-21 18:59 UTC (permalink / raw)
To: Kim Phillips; +Cc: Josh Boyer, linuxppc-dev, Herbert Xu, linux-crypto
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@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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-21 19:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20110621121955.GB2414@zod.rchland.ibm.com>
[not found] ` <1308671762.4954.0.camel@calx>
2011-06-21 16:38 ` [PATCH] hwrng: ppc4xx - add support for ppc4xx TRNG Kim Phillips
2011-06-21 18:59 ` Matt Mackall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox