On 15 Mar 2001 12:40:26 -0800, Dunlap, Randy wrote:
> > -----Original Message-----
> > From: Miles Lane [mailto:[EMAIL PROTECTED]]
> >
> > Are we going to have two UHCI HCDs _forever_?
> > It makes no sense to continue trying to fix and add identical
> > features to two drivers. As it stands, some device drivers
> > work better with each UHCI HCD. Can't we just pick one
> > driver and fix it? This "eeny meeny miney moe" situation
> > is goofy.
>
> Why is it a problem [for you]? I realize that it means
> that 2 people do similar work (JE and Georg).
It's a problem because I am working on testing USB device drivers.
Having redundant HCDs means extra work for everyone who is either
implementing or testing device drivers. This is a HUGE waste of
time. I imagine that device driver developers are currently
forced to learn by experimentation the strengths and shortcomings
of each UHCI HCD.
> It was meant to be a quick decision (as in about 1-2 weeks),
> but that failed.
>
> Do you have any criteria for choosing which one to keep,
> especially given that some devices/drivers work with one
> and some with the other?
Well, it might be worthwhile to ask one or two of the kernel
developers to perform a code review (Alan Cox and Andrew Morton
come to mind). Andrew recently had a gander at some of the
usb-ohci code and had some feedback for David Brownell.
The criteria that make sense to me include:
Which driver has the best documented, easy to understand
and well-designed code.
Which driver works with the most USB device drivers.
Which driver will be easiest to fix in order to
work with all the USB device drivers.
Which driver will be most easy to modify to move toward
sharing code with the rest of the HCDs (a topic recently
discussed by David Brownell and Roman Weissgaerber).
> Of course, removing one of them should lead to fixes in
> the failing modules (HCD or device drivers). That would be
> a good outcome. Having only one for users to choose from
> would also be desirable IMO.
Right.
Cheers,
Miles
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel