From: Steven Newbury <steve@snewbury.org.uk>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, Naren Sankar <nsankar@broadcom.com>,
Jarod Wilson <jarod@wilsonet.com>,
Scott Davilla <davilla@4pi.com>,
Manu Abraham <abraham.manu@gmail.com>
Subject: Re: [PATCH] staging: Merge Crystal HD driver with linuxtv.org
Date: Sun, 27 Oct 2013 17:12:18 +0000 [thread overview]
Message-ID: <1382893938.2598.24.camel@artifact> (raw)
In-Reply-To: <20131027155408.GA22705@kroah.com>
On Sun, 2013-10-27 at 08:54 -0700, Greg KH wrote:
> On Sun, Oct 27, 2013 at 04:27:23PM +0000, Steven Newbury wrote:
> > The in-kernel staging version and upstream diverged in Jan 2010,
> > whilst the in-kernel version has been kept up to date with kernel
> > changes, both have recieved some clean ups and bug fixes, upstream
> > has also added support for new cards, particularly BCM70015 which
> > is now a much more common device than the original BCM70012 and
> > is currently available for purchase.
> >
> > In addition to the changes below, I've applied all the relevant
> > modifications applied to the in-kernel version to the new code
> > introduced from upstream, in particular the removal of typedefs and
> > unified header handling.
> >
> > Quite a lot of the code churn relates to upstream commit
> > 317dbd6dda65b4177627d6417b762c287cefa0e7 (crystalhd: nuke BCMLOG
> > macros, use std dev_foo ones), I considered stripping these changes
> > out and making them a separate patch but decided to stay as close as
> > possible to the state of the current linuxtv.org codebase.
> >
> > Unfortunately, AFAIK, it's not possible to simply merge the upstream
> > git history since the upstream code isn't in a kernel tree structure,
> > and isn't even in a simple directory, but includes a script to
> > convert the external module into a staging tree driver which I used
> > to create a reference tree. I had to then manually merge both
> > versions and fix code conflicts.
> >
> > It does now successfully detect and initialise a BCM70015 bought
> > last week from Amazon. It is currently untested on the original
> > BCM70012.
> >
> > Signed-off-by: Steven Newbury <steve@snewbury.org.uk>
>
> Any reason why you didn't send this to me, the staging tree maintainer?
>
My apologies, that was remiss of me.
> And I can't take a giant patch like this, it's a mess. Why not send me
> a series of patches that sync things up, like you detail in the odd
> changelog entries you show below?
TBH, I just hoped I'd get away with fixing the thing up and posting it.
I bought the hardware last week assuming it would work since the driver
has been hanging around in the kernel for years, only to realise that
there is *no* working driver for the current cards on the market, at
least with recent kernel releases. (The linuxtv.org driver seems to
have stopped being updated.)
So I spent the weekend getting it working for me, and rather than leave
it sitting in my local machine with far too many other patches for way
too many projects, I sent it here. :-)
But, you're right, I've only done half the job, and I knew it as I wrote
the email. :-/ I'll start breaking it up into separate patches.
>
> And these patches do a lot of new work to the driver, I'd rather see it
> get fixed up properly and moved out of staging first, before adding new
> support to it, otherwise why is it in staging at all?
That last part it a good question, it's been sitting there for 3 years,
I assume there are specific things that need improving to get it out of
staging? Would the changes in this patch, without the support for new
hw support be sufficient to get that to happen? I can't test it without
that support though...
next prev parent reply other threads:[~2013-10-27 16:12 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-27 16:27 [PATCH] staging: Merge Crystal HD driver with linuxtv.org Steven Newbury
2013-10-27 15:54 ` Greg KH
2013-10-27 17:12 ` Steven Newbury [this message]
2013-10-27 16:26 ` Greg KH
2013-10-27 18:15 ` Steven Newbury
2013-10-29 12:54 ` Steven Newbury
2013-10-29 14:51 ` Steven Newbury
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=1382893938.2598.24.camel@artifact \
--to=steve@snewbury.org.uk \
--cc=abraham.manu@gmail.com \
--cc=davilla@4pi.com \
--cc=gregkh@linuxfoundation.org \
--cc=jarod@wilsonet.com \
--cc=linux-kernel@vger.kernel.org \
--cc=nsankar@broadcom.com \
/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