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)
Wed, Dec 18, 11:01 PM
Unknown Object (File)
Wed, Dec 18, 3:20 PM
Unknown Object (File)
Tue, Dec 17, 10:43 PM
Unknown Object (File)
Tue, Dec 3, 8:51 PM
Unknown Object (File)
Sun, Dec 1, 3:26 PM
Unknown Object (File)
Nov 24 2024, 3:12 AM
Unknown Object (File)
Nov 15 2024, 1:19 AM
Unknown Object (File)
Nov 7 2024, 1:42 PM
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