Page MenuHomeFreeBSD

uart/pl011: Add support for computing rclk
ClosedPublic

Authored by imp on Fri, Oct 11, 9:54 PM.
Tags
None
Referenced Files
F102058346: D47077.id144681.diff
Thu, Nov 7, 2:36 AM
F102036811: D47077.id144681.diff
Wed, Nov 6, 7:48 PM
F102000671: D47077.id144884.diff
Wed, Nov 6, 9:50 AM
Unknown Object (File)
Tue, Nov 5, 12:26 AM
Unknown Object (File)
Sat, Nov 2, 9:24 AM
Unknown Object (File)
Thu, Oct 31, 6:14 AM
Unknown Object (File)
Mon, Oct 28, 7:19 PM
Unknown Object (File)
Sat, Oct 26, 4:02 PM
Subscribers
None

Details

Summary

When instructed to do so, compute the rclk (baud rate generator clock)
based on the currently programmed divisor and the communicated baud
rate. We only do this once and only for consoles that tell us the
configured rate and flag we can likely safely compute rclk.

Sponsored by: Netflix

Diff Detail

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

Event Timeline

imp requested review of this revision.Fri, Oct 11, 9:54 PM
imp created this revision.
sys/dev/uart/uart_dev_pl011.c
247

Why & ~3?

Update to use proper constants for this computation. Don't know what I was
thinking before.

This revision is now accepted and ready to land.Tue, Oct 15, 8:12 AM
This revision was automatically updated to reflect the committed changes.