From: Michael Buesch <mbuesch@freenet.de>
To: Kumar Gala <galak@kernel.crashing.org>
Cc: Michael Buesch <mbuesch@freenet.de>,
linux-kernel@vger.kernel.org, bcm43xx-dev@lists.berlios.de,
dsaxena@plexity.net
Subject: Re: [PATCH] Generic hardware RNG support
Date: Wed, 1 Mar 2006 12:21:04 +0100 [thread overview]
Message-ID: <200603011221.05192.mbuesch@freenet.de> (raw)
In-Reply-To: <81D78F6B-7492-4DE0-A82D-F647869B3A40@kernel.crashing.org>
[-- Attachment #1: Type: text/plain, Size: 1824 bytes --]
On Wednesday 01 March 2006 03:57, you wrote:
> > Hi, I'll email you the patchset off-list so you can look at the API
> > and write the bcm43xx driver against it. They are a few months old
> > and
> > need updating to 2.6.latest and it is on my 2.6.18 TODO. If you
> > search the
> > archives there were a few small issues left such as separating out
> > all the
> > x86 stuff into separate amd, via, and intel code instead of having
> > a single
> > file.
>
> Are the patches in any state to include in -mm?
I don't think so. In fact, I think they are lacking important
functionality, which is present in my patches.
What about this: I change my patches to split the whole RNG
code into a "core" and the various drivers. That is basically
what Deepak Saxena's patches do and mine not, yet.
Support for multiple RNGs in the system at the same time is missing
in Deepak Saxena's patches. This support is important for the
bcm43xx driver, for example.
The rng_operations structure (which I renamed to struct hwrng)
lacks a few (more or less) important members. The n_bytes field
for example. Not every driver is able to generate sizeof(u32) bytes
for every read_data. (That is the case for bcm43xx and others).
The init and cleanup callbacks are less important, athough they
are often convenient. So I would like to have them, too.
To summerize, I'd like to change my patches:
- Split it into core + drivers.
- Get rid of the ugly struct pci_dev *dev; in struct hwrng.
- Remove the dependency for PCI from the core.
- Maybe remove some of the redundant asserts the some hardware routines.
- Fix a few minor bugs I spotted after submitting. Oops :D
and re-submit them to andrew.
I think this is also less work than resyncing Deepak Saxena's patches.
--
Greetings Michael.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-03-01 11:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-02-28 11:29 [PATCH] Generic hardware RNG support Michael Buesch
2006-02-28 11:34 ` Michael Buesch
2006-02-28 12:07 ` Jeff Garzik
2006-02-28 12:11 ` Michael Buesch
2006-03-01 0:40 ` Deepak Saxena
2006-03-01 2:57 ` Kumar Gala
2006-03-01 11:21 ` Michael Buesch [this message]
2006-03-01 13:19 ` Michael Buesch
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200603011221.05192.mbuesch@freenet.de \
--to=mbuesch@freenet.de \
--cc=bcm43xx-dev@lists.berlios.de \
--cc=dsaxena@plexity.net \
--cc=galak@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox