HomeFreeBSD

uart/ns8250: Factor out reading the divisor

Description

uart/ns8250: Factor out reading the divisor

We have two copies (soon to be three) of reading the divisor. Since it's
a complicated tricky process, abstract it to its own routine.

Sponsored by: Netflix
Reviewed by: andrew, markj
Differential Revision: https://reviews.freebsd.org/D47074

Details

Provenance
impAuthored on Oct 14 2024, 9:57 PM
Reviewer
andrew
Differential Revision
D47074: uart/ns8250: Factor out reading the divisor
Parents
rGdb4a3bae6e2d: uart/ns8250: Tweak printfs to always prefix messages with uart:
Branches
Unknown
Tags
Unknown