Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 09 Nov 2023 19:19:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 266990] FreeBSD can not drive 16950 chip correctly
Message-ID:  <bug-266990-227-SzouuJm0TG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-266990-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-266990-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266990

--- Comment #3 from Andrey Korobkov <alster@vinterdalen.se> ---
At least some controllers (Moxa) do work:

# dmesg.boot
puc0: <Moxa Technologies, Smartio CP-104EL-A/PCIe> port
0x1000-0x103f,0x1040-0x104f mem 0xba000000-0xba000fff irq 27 at device 0.0 =
on p
ci7
uart2: <16950 or compatible> at port 1 on puc0
uart3: <16950 or compatible> at port 2 on puc0
uart4: <16950 or compatible> at port 3 on puc0
uart5: <16950 or compatible> at port 4 on puc0

# sysctl -a | grep uart
device  uart_ns8250
device  uart
debug.uart_force_poll: 0
debug.uart_poll_freq: 50
dev.uart.5.rx_overruns: 0
dev.uart.5.pps_mode: 2
dev.uart.5.%parent: puc0
dev.uart.5.%pnpinfo: type=3D1
dev.uart.5.%location: port=3D4
dev.uart.5.%driver: uart
dev.uart.5.%desc: 16950 or compatible
dev.uart.4.rx_overruns: 0
dev.uart.4.pps_mode: 2
dev.uart.4.%parent: puc0
dev.uart.4.%pnpinfo: type=3D1
dev.uart.4.%location: port=3D3
dev.uart.4.%driver: uart
dev.uart.4.%desc: 16950 or compatible
dev.uart.3.rx_overruns: 0
dev.uart.3.pps_mode: 2
dev.uart.3.%parent: puc0
dev.uart.3.%pnpinfo: type=3D1
dev.uart.3.%location: port=3D2
dev.uart.3.%driver: uart
dev.uart.3.%desc: 16950 or compatible
dev.uart.2.rx_overruns: 0
dev.uart.2.pps_mode: 2
dev.uart.2.%parent: puc0
dev.uart.2.%pnpinfo: type=3D1
dev.uart.2.%location: port=3D1
dev.uart.2.%driver: uart
dev.uart.2.%desc: 16950 or compatible
dev.uart.%parent:

It has all the corresponding /dev/ttyu* and /dev/ttyv* nodes.
But requires MSI interrupts workaround to actually pass data over serial li=
ne:
'hw.puc.msi_disable=3D1' to loader.conf

See bug #235016, comment #3

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266990-227-SzouuJm0TG>