Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 10:50:36 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        "John-Mark Gurney" <jmg@funkthat.com>
Cc:        Poul-Henning Kamp <phk@phk.freebsd.dk>, lev@freebsd.org, Adrian Chadd <adrian@freebsd.org>, freebsd-current@freebsd.org
Subject:   Re: Intel D2500CC motherboard and strange RS232/UART behavior
Message-ID:  <201304111050.37055.jhb@freebsd.org>
In-Reply-To: <20130411070139.GR76354@funkthat.com>
References:  <229402991.20130407172016@serebryakov.spb.ru> <201304101016.57894.jhb@freebsd.org> <20130411070139.GR76354@funkthat.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, April 11, 2013 3:01:40 am John-Mark Gurney wrote:
> John Baldwin wrote this message on Wed, Apr 10, 2013 at 10:16 -0400:
> > On Wednesday, April 10, 2013 3:04:15 am Poul-Henning Kamp wrote:
> > > In message <1424327083.20130410103010@serebryakov.spb.ru>, Lev 
Serebryakov 
> > writ
> > > es:
> > > >Hello, Poul-Henning.
> > > >You wrote 10 =E0=EF=F0=E5=EB=FF 2013 =E3., 0:52:04:
> > > >
> > > >>>  Problem is, that every uart device now is independent from each
> > > >>>  other in good "OOP" style, and it looks like interrupt sharing we
> > > >>>  need one interrupt handler per irq (not per device), which will now
> > > >>>  about several UARTs. Something like "multiport" device, bot not
> > > >>>  exactly.
> > > >PHK> That is what the puc(4) driver does...
> > > >  Yes, for PCI devices only :(
> > > 
> > > Yes, it needs to learn to do it from hints for ISA.
> > 
> > No, that is that not the right hammer for this.  This isn't a single ISA 
> > device with two ports (which is what puc(4) is aimed at).
> 
> Don't you remeber the old AST 4 port cards?  Heck, even our handbook
> talks about how to make those cards work:
> https://www.freebsd.org/doc/en/books/faq/serial.html#enable-multiport-serial
> 
> I have a couple of these cards around somewhere I think...  Uses a DB-37
> connector for the ports....
> 
> Though if these ports don't have the logic that the AST cards did to
> share the IRQ, that'd make it hard...
> 
> The sio man page talks about this...

These are multiport cards and something like puc or digi, etc. is fine for
those.  The OP's issue is that he has a board with 4 independent 16550
UARTs which are attempting to share IRQs.  Those are not multiport cards
and are thus a separate issue.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304111050.37055.jhb>