Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F106330797
D37185.id112316.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
518 B
Referenced Files
None
Subscribers
None
D37185.id112316.diff
View Options
diff --git a/sys/dev/uart/uart_dev_ns8250.c b/sys/dev/uart/uart_dev_ns8250.c
--- a/sys/dev/uart/uart_dev_ns8250.c
+++ b/sys/dev/uart/uart_dev_ns8250.c
@@ -232,7 +232,7 @@
* https://github.com/rust-vmm/vm-superio/issues/83
*/
lsr = uart_getreg(bas, REG_LSR);
- if ((lsr & LSR_TEMT) && (what & UART_FLUSH_TRANSMITTER))
+ if (((lsr & LSR_TEMT) == 0) && (what & UART_FLUSH_TRANSMITTER))
drain |= UART_DRAIN_TRANSMITTER;
if ((lsr & LSR_RXRDY) && (what & UART_FLUSH_RECEIVER))
drain |= UART_DRAIN_RECEIVER;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 29, 7:57 PM (7 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15627931
Default Alt Text
D37185.id112316.diff (518 B)
Attached To
Mode
D37185: ns8250: Fix sense of LSR_TEMT FCR check
Attached
Detach File
Event Timeline
Log In to Comment