mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: Andrey Panin <pazke@donpac.ru>
Cc: Chris Bergeron <chris@pcburn.com>,
	linux-kernel@vger.kernel.org, kyle@xtechgear.com
Subject: Re: Syba 8-Port Serial Card Unidentified By Kernel
Date: Wed, 3 Sep 2008 21:59:30 -0600	[thread overview]
Message-ID: <200809032159.30778.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <20071028154242.GA13166@pazke.donpac.ru>

On Sunday 28 October 2007 9:42:42 am Andrey Panin wrote:
> On 295, 10 22, 2007 at 01:14:14 -0400, Chris Bergeron wrote:
> > Andrey Panin wrote:
> >> On 291, 10 18, 2007 at 01:00:06 -0400, Chris Bergeron wrote:
> >>   So the card probably generates screaming interrupt... that's bad.
> >> I found some docs for IT887x chips, according to these docs  IT887x
> >> have simple interrupt controller inside. Further investigation is
> >> needed.

Can you point me to any of those IT887x docs?  I haven't been able
to dig any up myself.

> Can you test an attached patch against 2.6.24-rc1 ?

I tested basically the same patch against a current upstream tree,
and the syba ports don't work, even with "irqpoll".  Here's the
discovery:

Serial: 8250/16550 driver16 ports, IRQ sharing enabled
<FF>serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
pnp: the driver 'serial' has been registered
00:10: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
serial 00:10: driver attached
00:11: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
serial 00:11: driver attached
serial 0000:00:01.0: check 0x2a0
serial 0000:00:01.0: got 0x0
serial 0000:00:01.0: syba at 0x000002a0
serial 0000:00:01.0: ite887x: io base at 0x2a0
serial 0000:00:01.0: ite887x: IRR0=00 IMR0=00 IER0=00
serial 0000:00:01.0: ite887x: IRR1=00 IMR1=00 IER1=00
serial 0000:00:01.0: ite887x: IRR2=00 IMR2=00 IER2=00
0000:00:01.0: ttyS4 at I/O 0x1000 (irq = 16) is a 16550A
0000:00:01.0: ttyS5 at I/O 0x1008 (irq = 16) is a 16550A
0000:00:01.0: ttyS6 at I/O 0x1010 (irq = 16) is a 16550A
0000:00:01.0: ttyS7 at I/O 0x1018 (irq = 16) is a 16550A
0000:00:01.0: ttyS8 at I/O 0x1020 (irq = 16) is a 16550A
0000:00:01.0: ttyS9 at I/O 0x1028 (irq = 16) is a 16550A
0000:00:01.0: ttyS10 at I/O 0x1030 (irq = 16) is a 16550A
0000:00:01.0: ttyS11 at I/O 0x1038 (irq = 16) is a 16550A

The entire dmesg log is at http://helgaas.com/tmp/sybase.txt
The patch I tested is at http://helgaas.com/tmp/sybase.patch

Here's the "lspci -xxx" output:

00:01.0 Serial controller: PLX Technology, Inc. Unknown device 9016 (rev 01)
00: b5 10 16 90 03 01 80 02 01 02 00 07 00 00 00 00
10: 01 10 00 00 d1 10 00 00 c1 10 00 00 00 30 24 e8
20: 00 20 24 e8 00 10 24 e8 00 00 00 00 4e 54 08 00
30: 00 00 00 00 00 00 00 00 00 00 00 00 0b 01 00 00
40: 3f 3f 08 00 00 8c 20 8b 45 54 55 45 00 00 10 d2
50: 01 01 71 03 01 03 00 00 00 00 00 00 00 00 00 00
60: a0 02 00 e5 00 00 00 00 00 00 00 00 00 00 00 00
70: 00 00 00 00 00 00 00 00 a0 02 00 00 f8 03 f8 02
80: 78 03 78 07 00 08 00 07 00 01 20 01 40 01 60 01
90: 00 00 00 00 00 00 00 00 00 00 00 00 70 43 25 64
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

  reply	other threads:[~2008-09-04  3:59 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-05 21:31 Chris Bergeron
2007-10-05 22:43 ` Nicholas Miell
2007-10-09 18:14 ` Lennart Sorensen
2007-10-09 19:25   ` Chris Bergeron
2007-10-10  9:54 ` Andrey Panin
2007-10-11 17:02   ` Chris Bergeron
2007-10-11 19:01     ` Lennart Sorensen
2007-10-11 20:48       ` Chris Bergeron
2007-10-12 12:08     ` Andrey Panin
2007-10-16 19:03       ` Chris Bergeron
2007-10-17  6:42         ` Andrey Panin
2007-10-17 22:16           ` Chris Bergeron
2007-10-18  5:57             ` Andrey Panin
2007-10-18 17:00               ` Chris Bergeron
2007-10-22 15:33                 ` Andrey Panin
2007-10-22 16:18                   ` Lennart Sorensen
2007-10-26 11:35                     ` Andrey Panin
2007-10-22 17:14                   ` Chris Bergeron
2007-10-28 15:42                     ` Andrey Panin
2008-09-04  3:59                       ` Bjorn Helgaas [this message]
2008-09-10 19:26                         ` Bjorn Helgaas
     [not found]   ` <200809181512.43523.bjorn.helgaas@hp.com>
     [not found]     ` <48D3EEDD.70403@pcburn.com>
2008-09-20 23:21       ` Bjorn Helgaas
2007-10-19 14:17 kyle

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=200809032159.30778.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@hp.com \
    --cc=chris@pcburn.com \
    --cc=kyle@xtechgear.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pazke@donpac.ru \
    /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

all inboxes | Powered by JetHome®