Page MenuHomeFreeBSD

uart: Prefer rclk passed in over rclk in the class
ClosedPublic

Authored by imp on Oct 11 2024, 9:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 11, 9:54 PM
Unknown Object (File)
Feb 17 2025, 8:25 PM
Unknown Object (File)
Jan 29 2025, 5:53 AM
Unknown Object (File)
Jan 27 2025, 6:52 PM
Unknown Object (File)
Jan 16 2025, 6:03 PM
Unknown Object (File)
Jan 13 2025, 3:03 AM
Unknown Object (File)
Jan 9 2025, 3:13 AM
Unknown Object (File)
Dec 28 2024, 3:17 AM
Subscribers
None

Details

Summary

If rclk is set in sysdev, then it was set during the boot process and is
intended to override the defaults. By prefering the sysdev one over the
class, xo=XXXX in hw.uart.console can give the user a usable console for
non-traditional UARTs, especially on !x86 platforms. The default rclk
generally only is good for I/O mapped UARTS or PCI ones that we can do a
table lookup on. Other times, it can be hard to know what a good default
is without more information.

Sponsored by: Netflix

Diff Detail

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