From: rolf liu <rolfliu@gmail.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: can't find interrupt number under /proc/interrupts for the pci multi-port on db1550
Date: Wed, 29 Jun 2005 15:20:56 -0700 [thread overview]
Message-ID: <2db32b72050629152010dab81d@mail.gmail.com> (raw)
In-Reply-To: <20050628211559.GA2879@linux-mips.org>
After some work, I found out the problem is the multi-port card is
using some of macros defined in au1000.h, which is not supposed to do.
I gave it a dirty hack by defining such macros in the source file.
Now I can see the interrupts coming up. BUT when I typed:
echo "hello world!">/dev/ttyM0
the message is shown on terminal connected to this serial port. But it
then is stuck there. Then the rs_timer gives a lot of timeouts and
enter the interrupt service routine each time there is timeout.
rs_close() is never got called. any suggestion on this part?
What is the function of serial_timer? it is just sitting there,
generating timeout, periodically. Just to make sure the interrupt
routine will be called periodically?
thanks
On 6/28/05, Ralf Baechle <ralf@linux-mips.org> wrote:
> On Mon, Jun 27, 2005 at 05:06:27PM -0700, rolf liu wrote:
>
> > I am running 2.4.31 on db1550 with a pci multi-port board. the kernel
> > starts up ok. but after start-up, I can't find the corresponding
> > interrupt number for this board, which is irq 2. I can find the device
> > under /proc/devices and /proc/tty/driver, etc. So I am now sure if it
> > is working ok. Is there good (simple) method to test this serial port?
>
> Linux will only allocate the interrupt when the interface is actually
> opened, just loading the driver doesn't suffice.
>
> Ralf
>
next prev parent reply other threads:[~2005-06-29 22:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-28 0:06 can't find interrupt number under /proc/interrupts for the pci multi-port on db1550 rolf liu
2005-06-28 8:16 ` Jon Anders Haugum
2005-06-28 14:56 ` rolf liu
2005-06-28 15:09 ` rolf liu
2005-07-05 19:43 ` rolf liu
2005-06-28 13:44 ` Alan Cox
2005-06-28 16:30 ` rolf liu
2005-06-28 17:52 ` Alan Cox
2005-06-28 19:01 ` rolf liu
2005-06-28 21:15 ` Ralf Baechle
2005-06-29 22:20 ` rolf liu [this message]
2005-06-30 10:07 ` Ralf Baechle
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=2db32b72050629152010dab81d@mail.gmail.com \
--to=rolfliu@gmail.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.