linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Matt Sealey <matt@genesi-usa.com>
To: ppc-dev <linuxppc-dev@ozlabs.org>
Subject: Enforcing built-in driver init order?
Date: Wed, 13 Jun 2007 12:28:44 +0100	[thread overview]
Message-ID: <466FD4EC.80304@genesi-usa.com> (raw)

I'm trying to work out how to decouple the BestComm SRAM driver from the
BestComm DMA engine. SRAM is far more useful than just as a DMA buffer,
especially as it can stay active over deep sleep and SDRAM refresh turned
off, as a temporary place to put things. Even with a full set of tasks
there are still some kilobytes free. In future processors the SRAM will
only get larger meaning you can do more things with it, and it may be
used for more than DMA.

My simple problem is, if I split the two drivers apart, the SRAM platform
driver is not guaranteed to load before the DMA platform driver. If it
were a module I could have depmod handle it and load them in order but
this isn't possible since DMA is required on boot, and SRAM is required
for DMA.

Any clues or hints on how it can be EASILY enforced that the SRAM platform
driver is present (and can be checked for??) before the BestComm engine
is turned on and tasks are arbitrarily loaded?

-- 
Matt Sealey <matt@genesi-usa.com>
Genesi, Manager, Developer Relations

                 reply	other threads:[~2007-06-13 11:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=466FD4EC.80304@genesi-usa.com \
    --to=matt@genesi-usa.com \
    --cc=linuxppc-dev@ozlabs.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 NNTP newsgroup(s).