public inbox for linux-sh@vger.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: SH7722 serial scif
Date: Wed, 24 Sep 2008 15:49:01 +0000	[thread overview]
Message-ID: <20080924154901.GA8234@linux-sh.org> (raw)
In-Reply-To: <878566.91579.qm@web26201.mail.ukl.yahoo.com>

On Wed, Sep 24, 2008 at 02:52:05PM +0000, Michael Trimarchi wrote:
> I find a problem releated to the scif serial device. Using scif2 on the
> MigoR, the kernel block on the second open of the device when it try to
> register irq line. So in the shutdown sequence I add:
> 
>  sci_out(port, SCSCR, 0x00);
> 
> and in the startup squence:
> 
>  sci_out(port, SCSCR, SCSCR_INIT(port));
> 
> The version is 2.6.24.2 but I think is present in the latest release too.
> 
> My idea is to post a patch to register and enable and disable for the
> scif port on the SH7722. Can be a problem for other micro?
> 
I'm not entirely sure I follow what the problem is, so yes, a patch would
help. It sounds like you are running in to a problems trying to do multiple
opens on the same port where request_irq() returns -EBUSY or some such
thing? I don't immediately see how that would be happening, so perhaps
I'm misunderstanding your problem.

  reply	other threads:[~2008-09-24 15:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-24 14:52 SH7722 serial scif Michael Trimarchi
2008-09-24 15:49 ` Paul Mundt [this message]
2008-09-24 15:57 ` Michael Trimarchi
2008-09-24 16:43 ` Paul Mundt
2008-09-25  9:17 ` Michael Trimarchi
2008-09-27 17:12 ` Magnus Damm

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=20080924154901.GA8234@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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