From: Anton Vorontsov <avorontsov@ru.mvista.com>
To: Laurent Pinchart <laurentp@cse-semaphore.com>
Cc: mike@compulab.co.il, linuxppc-dev@ozlabs.org
Subject: Re: CPM2 USB host driver
Date: Fri, 30 Nov 2007 19:11:36 +0300 [thread overview]
Message-ID: <20071130161136.GA27760@localhost.localdomain> (raw)
In-Reply-To: <200711301628.33526.laurentp@cse-semaphore.com>
On Fri, Nov 30, 2007 at 04:28:27PM +0100, Laurent Pinchart wrote:
[...]
> > I tried to forward-port FHCI from Freescale 2.6.11 kernels. Twice.
> > But these efforts always stumbled over more important tasks.
>
> Do you think I start from the FHCI driver provided by Freescale for 2.6.11,
> from the cpm2usb driver or from scratch ?
Well, the same question I asked myself when I was looking at
FHCI driver back then. USB subsystem changed drastically, powerpc
bits changed too. Forward porting or doing from scratch.. hm.
Unfortunately I didn't look into cpm2usb, thus I can't tell
whether it will be easier to reuse.
As for FHCI driver, it's not that big (6100 lines host patch + 3516
lines usbgadget patch), but since usb subsystem changed: you have to
know all the changes (or to look them up) and blindly follow them. Or
start from scratch with FHCI/cpm2usb as the reference, thus evolve
into Linux USB expert one day.
I've tried first option -- it's boring to death (that is, you're
doing job USB maintainers done years ago for in-tree drivers ;-).
Today, I think I would choose the second option. Definitely more
fun, and most probably quicker to progress. Though, I repeat,
I didn't look into cpm2usb project.
--
Anton Vorontsov
email: cbou@mail.ru
backup email: ya-cbou@yandex.ru
irc://irc.freenode.net/bd2
next prev parent reply other threads:[~2007-11-30 16:07 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-30 10:45 CPM2 USB host driver Laurent Pinchart
2007-11-30 11:16 ` Vitaly Bordug
2007-11-30 12:30 ` Laurent Pinchart
2007-11-30 12:48 ` Anton Vorontsov
2007-11-30 13:00 ` Vitaly Bordug
2007-11-30 15:28 ` Laurent Pinchart
2007-11-30 16:11 ` Anton Vorontsov [this message]
2007-11-30 22:32 ` Arnd Bergmann
2007-11-30 23:18 ` David Brownell
2007-12-02 6:31 ` Mike Rapoport
2007-11-30 13:02 ` Vitaly Bordug
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=20071130161136.GA27760@localhost.localdomain \
--to=avorontsov@ru.mvista.com \
--cc=laurentp@cse-semaphore.com \
--cc=linuxppc-dev@ozlabs.org \
--cc=mike@compulab.co.il \
/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;
as well as URLs for NNTP newsgroup(s).