Hello, The diff is committed (ok by deraadt@), and I am testing the behavior of TX382B's FIFO.
> Here is a dmesg. > > ppb1 at pci1 dev 0 function 0 "ASMedia ASM1083/1085 PCIE-PCI" rev 0x04 > pci2 at ppb1 bus 2 > puc0 at pci2 dev 0 function 0 "TXIC TX382B" rev 0x10: ports: 2 com > com4 at puc0 port 0 apic 5 int 18: ns16550a, 16 byte fifo > com4: probed fifo depth: 0 bytes > com5 at puc0 port 1 apic 5 int 18: ns16550a, 16 byte fifo > com5: probed fifo depth: 0 bytes com_fifo_probe() (at src/sys/dev/ic/com.c) checks the depth of Tx/Rx FIFO, it uses MCR_LOOPBACK to enter loopback mode. I found TX382B does not loopback with setting MCR_LOOPBACK, and this cause com_fifo_probe() detects no FIFO. It is difficult to write a special code to com.c, I think TX382B should work without Tx/Rx FIFO. There is other good and cheap UART chip! Regards, -- SASANO Takayoshi <u...@mx5.nisiq.net>