From owner-freebsd-stable@freebsd.org Thu Nov 24 00:40:53 2016 Return-Path: Delivered-To: freebsd-stable@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2D313C50DBD for ; Thu, 24 Nov 2016 00:40:53 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (mail.karels.net [63.231.190.5]) by mx1.freebsd.org (Postfix) with ESMTP id EC763A4 for ; Thu, 24 Nov 2016 00:40:52 +0000 (UTC) (envelope-from mike@karels.net) Received: from mail.karels.net (localhost [127.0.0.1]) by mail.karels.net (8.15.2/8.15.2) with ESMTP id uAO0Qawl040560 for ; Wed, 23 Nov 2016 18:26:36 -0600 (CST) (envelope-from mike@karels.net) Message-Id: <201611240026.uAO0Qawl040560@mail.karels.net> To: freebsd-stable@freebsd.org From: Mike Karels Reply-to: mike@karels.net Subject: support for Oxford Semiconductor OXPCIe952 / 16950-compatible UARTs Date: Wed, 23 Nov 2016 18:26:36 -0600 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Nov 2016 00:40:53 -0000 I recently upgraded my main FreeBSD machine, and bought a cheap Rosewill PCI-e dual UART card to replace the old PCI card. I'm having problems getting anything to work, though, as programs like tip hang when doing a TIOCSETAW to set parameters; ^T says "ttyout" as the wchan. I have a modem attached to one port, an antique serial device on the other; they act the same. Has anyone seen this, or figured out how to get past it? Some Googling hasn't yielded any recent results. The details: dmesg: puc0: mem 0xf9600000-0xf9603fff,0xf9400000-0xf95fffff,0xf9200000-0xf93fffff irq 16 at device 0.0 numa-domain 0 on pci10 puc0: 2 UARTs detected uart2: <16950 or compatible> at port 1 on puc0 uart3: <16950 or compatible> at port 2 on puc0 pciconf -l: puc0@pci0:112:0:0: class=0x070002 card=0xc1581415 chip=0xc1581415 rev=0x00 hdr=0x00 pstat -t while hanging: $ pstat -t LINE INQ CAN LIN LOW OUTQ USE LOW COL SESS PGID STATE ttyu2 0 0 0 0 0 0 0 17 0 0 IC ttyu3 1920 0 0 192 1984 0 199 17 0 0 ICOo Thanks in advance, Mike