Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F102041121
D47070.id144674.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
448 B
Referenced Files
None
Subscribers
None
D47070.id144674.diff
View Options
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c
--- a/sys/dev/uart/uart_core.c
+++ b/sys/dev/uart/uart_core.c
@@ -752,6 +752,11 @@
"rx_overruns", CTLFLAG_RD, &sc->sc_rxoverruns, 0,
"Receive overruns");
+ SYSCTL_ADD_INT(device_get_sysctl_ctx(dev),
+ SYSCTL_CHILDREN(device_get_sysctl_tree(dev)), OID_AUTO,
+ "rclk", CTLFLAG_RD, &sc->sc_bas.rclk, 0,
+ "Baud clock for device");
+
return (0);
fail:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 9:10 PM (9 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13961018
Default Alt Text
D47070.id144674.diff (448 B)
Attached To
Mode
D47070: uart: export rclk via sysctl
Attached
Detach File
Event Timeline
Log In to Comment