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)
Mon, Nov 3, 7:04 PM
Unknown Object (File)
Mon, Nov 3, 7:00 PM
Unknown Object (File)
Mon, Nov 3, 7:00 PM
Unknown Object (File)
Mon, Nov 3, 6:54 PM
Unknown Object (File)
Wed, Oct 29, 12:33 AM
Unknown Object (File)
Tue, Oct 28, 5:01 PM
Unknown Object (File)
Mon, Oct 27, 4:00 PM
Unknown Object (File)
Thu, Oct 16, 10:45 AM
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