Changes to UART ns8250
Zbigniew Bodek
zbb at freebsd.org
Mon Oct 7 19:54:18 UTC 2013
Hello.
I would like to present a patch for ns8250 serial that I would like to
commit in the near future (if there are no objections).
The patch is fixing newest DesignWare UART with busy detection.
During frequency divisors configuration when UART is busy transferring or
receiving data, line control register manipulation will not take effect.
Therefore, we will not set divisor latch access bit and we will corrupt LCR
instead of configuring divisors.
It is necessary to wait until UART finishes all transfers to proceed with
the configuration.
This was detected on Armada XP as UART fails on this issue 100/100 attempts.
The patch was tested by kevlo@ and me and it works on our Armada XP - based
systems.
Please send your comment or remarks if there are any.
Best regards
Zbigniew Bodek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Wait-for-DesignWare-UART-transfers-completion-before.patch
Type: application/octet-stream
Size: 2294 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131007/55ac3fda/attachment.obj>
More information about the freebsd-current
mailing list