linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Laurent Lagrange" <lagrange@fr.oleane.com>
To: <linuxppc-dev@ozlabs.org>
Subject: TR: Linux 2.6.x 82xx probe devices with multiple serial drivers
Date: Thu, 11 Feb 2010 19:39:44 +0100	[thread overview]
Message-ID: <000901caab49$98517d00$a501a8c0@GEGE6600V> (raw)


Hello,

I use a 82xx platform with a device tree which describes 4 SCC ports.
I want to probe these 4 SCC ports against 2 serial drivers (e.g. async and
sync).
Each port is declared as compatible with the 2 drivers.

When the first driver is loaded, all devices are probed and bound
with this driver and cannot be probed against the second driver.

I know that it can be a way to prevent against concurrent accesses but the
configuration is static and depends on how the drivers are loaded.

In fact, I want to load my 2 drivers, probe each entry without requesting
any resource then select how to open my ports using the first or second
driver.

Any tips ?
Thanks
Laurent

             reply	other threads:[~2010-02-11 20:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-11 18:39 Laurent Lagrange [this message]
2010-05-28 14:44 ` Linux 2.6.x: arch powerpc: PCI DMA allocation misunderstandings Laurent Lagrange

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='000901caab49$98517d00$a501a8c0@GEGE6600V' \
    --to=lagrange@fr.oleane.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).