This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: AT91 serial driver


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. But of course it would be best if we could somehow agree on the
way to go, and have only one driver. It might be enlightening to get
more opinions from ecos maintainers...

tk
--------------------------------------------------

Thomas Koeller, Software Development

Basler Vision Technologies
An der Strusbek 60-62
22926 Ahrensburg
Germany

Tel +49 (4102) 463-162
Fax +49 (4102) 463-239

mailto:thomas.koeller@baslerweb.com
http://www.baslerweb.com

==============================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]