public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Grant Edwards <grant.b.edwards@gmail.com>
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Re: How to "unimlement" an interface?
Date: Thu, 15 Mar 2012 14:47:00 -0000	[thread overview]
Message-ID: <jjsvd3$113$1@dough.gmane.org> (raw)
In-Reply-To: <jjoaug$hhe$1@dough.gmane.org>

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

      reply	other threads:[~2012-03-15 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-13 20:33 [ECOS] " Grant Edwards
2012-03-15 14:47 ` Grant Edwards [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='jjsvd3$113$1@dough.gmane.org' \
    --to=grant.b.edwards@gmail.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).