public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Nick Garnett <nickg@cygnus.co.uk>
To: ecos-discuss@sourceware.cygnus.com
Subject: Re: [ECOS] I/O driver lookup handler: read/write mode
Date: Wed, 01 Dec 1999 03:15:00 -0000	[thread overview]
Message-ID: <poyabfkk1p.fsf@balti.cygnus.co.uk> (raw)
In-Reply-To: <06ef01bf3b80$755dd6c0$437201aa@atlantis7>

"Masaki Sawanobori" <masaki@zentek.com> writes:

> Jonathan Larmour wrote:
> > Using cyg_io_get_config() after the cyg_io_lookup() would seem a better
> > approach.
> 
> This would be fine, too; in this case,  the changes could be done locally in
> the fopen code and would not affect the existing I/O device driver model.
> But I like the other approach better since using cyg_io_get/set_config()
> would seem to divide the task unnecessarily into two separate functions
> which should  be done in cyg_io_lookup() as a unit.
> 

I think that this is probably the best route for you to take at
present. We are in the process of developing a full filesystem
interface specification that will do what you need. I don't want you
to spend too much time trying to squeeze your code into the current
structure when things are going to change for the better in the
future.

Of course you have sources and can so what you want with them! But the
fewer changes you have to make to the distribute sources, and the more
you concentrate in your own code, the easier it will be for you to
take new versions.

-- 
Nick Garnett           mailto:nickg@cygnus.co.uk
Cygnus Solutions, UK   http://www.cygnus.co.uk

  reply	other threads:[~1999-12-01  3:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-30  2:59 Masaki Sawanobori
1999-11-30  7:36 ` Jonathan Larmour
1999-11-30 14:14   ` Masaki Sawanobori
1999-12-01  3:15     ` Nick Garnett [this message]
1999-11-30  7:47 ` Gary Thomas

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=poyabfkk1p.fsf@balti.cygnus.co.uk \
    --to=nickg@cygnus.co.uk \
    --cc=ecos-discuss@sourceware.cygnus.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).