Page MenuHomeFreeBSD

uart: Add support for the Intel XScale controller
ClosedPublic

Authored by bnovkov on Jun 18 2026, 2:43 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 15, 2:13 AM
Unknown Object (File)
Thu, Aug 13, 1:12 AM
Unknown Object (File)
Wed, Aug 12, 7:20 PM
Unknown Object (File)
Wed, Aug 12, 7:11 PM
Unknown Object (File)
Mon, Aug 10, 11:39 AM
Unknown Object (File)
Mon, Aug 10, 9:35 AM
Unknown Object (File)
Sun, Aug 9, 3:11 PM
Unknown Object (File)
Sun, Aug 9, 4:06 AM
Subscribers
None

Details

Summary

The ns8250 driver avoids clearing IER bit 0x10 to account for the
split "receiver time-out interrupt enable" bit, but it never sets
it in ier_rxbits even though a comment in ns8250_init implies so.

Fix this by setting IER_RXTMOUT if we've matched an XScale uart.

Event: BSDCan 2026

Test Plan

Tested on a Banana Pi BPI-F3 SoC. Using the console without the IER_RXTMOUT changes is impossible, applying this patch fixes it.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable