From owner-freebsd-current@FreeBSD.ORG Thu Apr 11 07:01:47 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E763D3AC; Thu, 11 Apr 2013 07:01:47 +0000 (UTC) (envelope-from jmg@h2.funkthat.com) Received: from h2.funkthat.com (gate2.funkthat.com [208.87.223.18]) by mx1.freebsd.org (Postfix) with ESMTP id A8E80390; Thu, 11 Apr 2013 07:01:47 +0000 (UTC) Received: from h2.funkthat.com (localhost [127.0.0.1]) by h2.funkthat.com (8.14.3/8.14.3) with ESMTP id r3B71fvg053540 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 11 Apr 2013 00:01:41 -0700 (PDT) (envelope-from jmg@h2.funkthat.com) Received: (from jmg@localhost) by h2.funkthat.com (8.14.3/8.14.3/Submit) id r3B71eQ3053539; Thu, 11 Apr 2013 00:01:40 -0700 (PDT) (envelope-from jmg) Date: Thu, 11 Apr 2013 00:01:40 -0700 From: John-Mark Gurney To: John Baldwin Subject: Re: Intel D2500CC motherboard and strange RS232/UART behavior Message-ID: <20130411070139.GR76354@funkthat.com> Mail-Followup-To: John Baldwin , Poul-Henning Kamp , Adrian Chadd , lev@freebsd.org, freebsd-current@freebsd.org References: <229402991.20130407172016@serebryakov.spb.ru> <1424327083.20130410103010@serebryakov.spb.ru> <55881.1365577455@critter.freebsd.dk> <201304101016.57894.jhb@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201304101016.57894.jhb@freebsd.org> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 7.2-RELEASE i386 X-PGP-Fingerprint: 54BA 873B 6515 3F10 9E88 9322 9CB1 8F74 6D3F A396 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2 (h2.funkthat.com [127.0.0.1]); Thu, 11 Apr 2013 00:01:41 -0700 (PDT) Cc: Poul-Henning Kamp , lev@freebsd.org, Adrian Chadd , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Apr 2013 07:01:48 -0000 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... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."