Page MenuHomeFreeBSD

dev/uart: Support 8-byte register access
ClosedPublic

Authored by andrew on Jan 9 2024, 2:29 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 6, 1:13 PM
Unknown Object (File)
Mon, Dec 1, 3:10 AM
Unknown Object (File)
Nov 18 2025, 3:45 AM
Unknown Object (File)
Nov 14 2025, 4:44 PM
Unknown Object (File)
Nov 12 2025, 3:33 AM
Unknown Object (File)
Nov 9 2025, 8:23 PM
Unknown Object (File)
Nov 3 2025, 7:04 PM
Unknown Object (File)
Nov 3 2025, 7:00 PM
Subscribers
None

Details

Summary

While we only support 4-byte registers in the uart code the physical
access may be to an 8-byte register. Support this as an option on
non-i386. On i386 we lack the needed 8-byte bus_space functions.

ACPI has an option for 8-byte register io width, and FDT can be given
any size. Support these sizes, even if we don't expect to see hardware
with an 8-byte io width.

Sponsored by: Arm Ltd

Diff Detail

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