Page MenuHomeFreeBSD

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

Authored by imp on Fri, Oct 11, 9:53 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 6, 8:04 AM
Unknown Object (File)
Thu, Oct 24, 2:04 PM
Unknown Object (File)
Sun, Oct 20, 11:10 PM
Unknown Object (File)
Sun, Oct 20, 11:10 PM
Unknown Object (File)
Sun, Oct 20, 11:10 PM
Unknown Object (File)
Sun, Oct 20, 10:47 PM
Unknown Object (File)
Mon, Oct 14, 10:17 PM
Unknown Object (File)
Mon, Oct 14, 8:30 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