public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] How to "unimlement" an interface?
@ 2012-03-13 20:33 Grant Edwards
  2012-03-15 14:47 ` [ECOS] " Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2012-03-13 20:33 UTC (permalink / raw)
  To: ecos-discuss




I'm using a legacy flash driver that doesn't need somebody else to
fiddle the caches.  How do I "unimplement"
CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED which is "implemented" by 
CYGHWR_IO_FLASH_DEVICE_LEGACY?

I don't understand why the interface/implement scheme is being used
this way.  If a flash driver requires cache handling shouldn't it
"require" something rather than "implement" something?

-- 
Grant Edwards               grant.b.edwards        Yow! Does someone from
                                  at               PEORIA have a SHORTER
                              gmail.com            ATTENTION span than me?


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Re: How to "unimlement" an interface?
  2012-03-13 20:33 [ECOS] How to "unimlement" an interface? Grant Edwards
@ 2012-03-15 14:47 ` Grant Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Grant Edwards @ 2012-03-15 14:47 UTC (permalink / raw)
  To: ecos-discuss

On 2012-03-13, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
>
>
> I'm using a legacy flash driver that doesn't need somebody else to
> fiddle the caches.  How do I "unimplement"
> CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED which is "implemented" by 
> CYGHWR_IO_FLASH_DEVICE_LEGACY?
>
> I don't understand why the interface/implement scheme is being used
> this way.  If a flash driver requires cache handling shouldn't it
> "require" something rather than "implement" something?

I've commented out the "implements CYGHWR_IO_FLASH_DEVICE_NEEDS_CACHE_HANDLED"
line in io/flash/current/cdl/io_flash.cdl to fix this problem, but
that doesn't seem like the right way to handle it.  How is my flash
driver supposed to inform the configuration system that it doesn't
need the the io/flash layer to do chache handling?

-- 
Grant Edwards               grant.b.edwards        Yow! I'm ZIPPY the PINHEAD
                                  at               and I'm totally committed
                              gmail.com            to the festive mode.


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-03-15 14:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-13 20:33 [ECOS] How to "unimlement" an interface? Grant Edwards
2012-03-15 14:47 ` [ECOS] " Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).