This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: AT91 serial driver
On Fri, 24 Oct 2003 13:43:51 +0200
Thomas Koeller <thomas.koeller@baslerweb.com> wrote:
> Andrew Lunn wrote:
> > Its definitely possible. We have two network stacks.....
> >
> > But from a maintenance, testing and user confusion side of things it
> > would be better to have one driver. Would it be possible to merge
> > the two drivers keeping as much code as common as possible and CDL
> > options to configure between Low CPU-higher latency, and
> > higherCPU-lower latency?
> >
> > Thanks
> > Andrew
>
> It should be possible, of course, but it would probably take the form
> of a rather big #ifdef block that contains a significant fraction of
> the code. In effect we would have two different drivers in one source
> file. In this case, two separate packages may be easier to maintain,
> and to a user it may be more obvious that the selection is a very
> basic one.
I agree with you thomas. There should be 2 drivers.
--
GONZALEZ Laurent
18 rue George SAND
38100 GRENOBLE