Thread (11 messages) 11 messages, 6 authors, 2007-12-02

Re: CPM2 USB host driver

From: Anton Vorontsov <hidden>
Date: 2007-11-30 16:07:07

On Fri, Nov 30, 2007 at 04:28:27PM +0100, Laurent Pinchart wrote:
[...]
quoted
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help