support for Oxford Semiconductor OXPCIe952 / 16950-compatible UARTs

Mike Karels mike at karels.net
Thu Nov 24 01:09:25 UTC 2016


One detail I forgot: this is

FreeBSD pughole.karels.net 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016     root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

> 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: <Oxford Semiconductor OXPCIe952 UARTs> 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 at 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


More information about the freebsd-stable mailing list