public inbox for ecos-patches@sourceware.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@bugs.ecos.sourceware.org
To: ecos-patches@ecos.sourceware.org
Subject: [Bug 1001428] Hal bits for Kinetis K40 SLCD controller
Date: Fri, 23 Dec 2011 08:31:00 -0000	[thread overview]
Message-ID: <20111223083058.E0D352F78005@mail.ecoscentric.com> (raw)
In-Reply-To: <bug-1001428-104@http.bugs.ecos.sourceware.org/>

Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001428

--- Comment #8 from John Dallaway <john@dallaway.org.uk> 2011-12-23 08:30:57 GMT ---
(In reply to comment #7)

> > A few possibilities for consideration:
> > 
> > 1) Introduce a hal/devs/ hierarchy for HAL-level device definitions which
> > may be required across multiple architectures. Accessed directly as if part
> > of a platform HAL or variant HAL package.
> 
> I would avoid putting directory named "devs" under "hal" since it may have
> strong gravitational pull for any kind of device drivers (esp from new
> developers).

Yes. Perhaps hal/shared/ or hal/misc/ would be better.

> But there are some devices that are close to the HAL but can be still shared
> among different architectures such as: DMA, some RAM chips with
> configurability features, etc. For this purpose I would propose hal/misc
> This may be off-topic, but for me this is kind of actual question and I was
> going to put it on devel list as I am near to submit a driver that employs
> DMA and HAL support for external RAM chip(s) that have some registers for
> configuration.
> 
> > 2) Introduce a devs/misc/ hierarchy for miscellaneous simple eCos devices
> > with no corresponding I/O layer. Accessed via eCos device lookup.
> > 
> > 3) Create an I/O infrastructure package for segment displays.
> 
> I would vote for this with little further generalization: may it be
> devs/displays (eventually abbreviated)? Or could it be: /devs/hmi?
> Note: This may raise question what to do with (existing) framebuffer, but I
> think at present it shouldn't be a big issue to move it in because there's
> only one entry within framebuffer.

In general, device drivers under devs/$TYPE/ are accessed via the I/O layer at
io/$TYPE/ and I see no reason to change this. For example devs/framebuf/ is
accessed via the Framebuffer I/O  layer at io/framebuf/.

Also, in general, drivers under devs/ present themselves via the eCos device
driver API.

If the Freescale SLCD package will simply provide some HAL definitions and
HAL-level API then perhaps hal/misc/freescale/slcd/ is indeed the better place.

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

  parent reply	other threads:[~2011-12-23  8:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-21  9:38 [Bug 1001428] New: " bugzilla-daemon
2011-12-21 11:03 ` [Bug 1001428] " bugzilla-daemon
2011-12-21 12:05 ` bugzilla-daemon
2011-12-21 17:55 ` bugzilla-daemon
2011-12-21 18:33 ` bugzilla-daemon
2011-12-22  8:01 ` bugzilla-daemon
2011-12-22 10:03 ` bugzilla-daemon
2011-12-23  8:08 ` bugzilla-daemon
2011-12-23  8:31 ` bugzilla-daemon [this message]
2011-12-23  9:23 ` bugzilla-daemon
2011-12-23 10:19 ` bugzilla-daemon
2012-01-11 11:25 ` bugzilla-daemon
2012-01-11 11:28 ` bugzilla-daemon
2012-01-11 11:33 ` bugzilla-daemon
2012-01-11 11:43 ` bugzilla-daemon
2012-01-11 11:44 ` bugzilla-daemon
2012-01-11 11:45 ` bugzilla-daemon
2012-03-26 16:10 ` bugzilla-daemon
2012-03-26 16:22 ` bugzilla-daemon
2012-03-30 15:02 ` bugzilla-daemon

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=20111223083058.E0D352F78005@mail.ecoscentric.com \
    --to=bugzilla-daemon@bugs.ecos.sourceware.org \
    --cc=ecos-patches@ecos.sourceware.org \
    /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).