This is the mail archive of the ecos-discuss@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: QUESTION - generic flash usage


On Wed, 2002-07-24 at 08:05, Jani Monoses wrote:
> Hi
> is one of the two ways of using generic flash drivers preferred?
> 1) having a src/flashXXX.c which includes the generic .inl file (ex. viper)
> 2) having a include/flashXXX.inl which does the same (ex. cerfpda)
> 
> 1) is compiled and linked while 2) is itself included ....
by the generic driver which does the same thing.

These are just two different ways of viewing the same process - namely
to instantiate a specific driver from a generic framework given some
parameterization.  They are pretty much the same (in my opinion) and
simply reflect the different author's attitudes when the code was
written.



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss


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