Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107365401
D47073.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
902 B
Referenced Files
None
Subscribers
None
D47073.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
@@ -187,7 +187,7 @@
while ((uart_getreg(bas, REG_LSR) & LSR_TEMT) == 0 && --limit)
DELAY(delay);
if (limit == 0) {
- /* printf("ns8250: transmitter appears stuck... "); */
+ /* printf("uart: ns8250: transmitter appears stuck... "); */
return (EIO);
}
}
@@ -215,7 +215,7 @@
DELAY(delay << 2);
}
if (limit == 0) {
- /* printf("ns8250: receiver appears broken... "); */
+ /* printf("uart: ns8250: receiver appears broken... "); */
return (EIO);
}
}
@@ -255,7 +255,7 @@
if ((lsr & LSR_RXRDY) && (what & UART_FLUSH_RECEIVER))
drain |= UART_DRAIN_RECEIVER;
if (drain != 0) {
- printf("ns8250: UART FCR is broken\n");
+ printf("uart: ns8250: UART FCR is broken\n");
ns8250_drain(bas, drain);
}
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 14, 2:45 AM (20 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15790306
Default Alt Text
D47073.diff (902 B)
Attached To
Mode
D47073: uart/ns8250: Tweak printfs to always prefix messages with uart:
Attached
Detach File
Event Timeline
Log In to Comment