Page MenuHomeFreeBSD

D47070.id144674.diff
No OneTemporary

D47070.id144674.diff

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

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)

Event Timeline