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)
Apr 27 2024, 12:50 PM
Unknown Object (File)
Apr 27 2024, 12:50 PM
Unknown Object (File)
Apr 27 2024, 12:50 PM
Unknown Object (File)
Apr 27 2024, 11:40 AM
Unknown Object (File)
Feb 13 2024, 11:55 AM
Unknown Object (File)
Feb 11 2024, 6:47 PM
Unknown Object (File)
Jan 14 2024, 4:55 AM
Unknown Object (File)
Jan 10 2024, 7:45 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