Page MenuHomeFreeBSD

uart: Add support for the Intel XScale controller
ClosedPublic

Authored by bnovkov on Thu, Jun 18, 2:43 AM.
Tags
None
Referenced Files
F160551821: D57629.diff
Thu, Jun 25, 2:32 PM
F160534960: D57629.diff
Thu, Jun 25, 10:39 AM
Unknown Object (File)
Thu, Jun 25, 7:23 AM
Unknown Object (File)
Thu, Jun 25, 12:26 AM
Unknown Object (File)
Thu, Jun 25, 12:19 AM
Unknown Object (File)
Wed, Jun 24, 11:15 PM
Unknown Object (File)
Wed, Jun 24, 1:28 PM
Unknown Object (File)
Tue, Jun 23, 5:13 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

Event Timeline

bnovkov created this revision.
bnovkov edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Thu, Jun 18, 7:55 PM