This patch is the backport of rs338074 for uart drivers to stable/11. It also has the associated changes to compile properly on stable/11 branch.
@rajfbsd_gmail.com I can't actually apply this to a release branch (11.2) I can only commit to stable/11 (from which 11.3 will come) where it looks like parts of this have already been MFC'd. The patch doesn't actually apply cleanly there. Could you please update it to apply to the stable/11 branch?
Sorry about the delayed response.
I tried applying the changes on top the stable/11 branch as of date. It's applying properly. I created the patch file using "git diff -p" and applied using "patch -p1 < patch_file". But when I upload the patch here, it's converted to a different format compared to git diff format. If I download the raw diff here and tried to apply, then it fails. Is that the issue you are facing? Can you please let me know how to get the patch from here and apply it to your repo?