diff options
author | ian <ian@FreeBSD.org> | 2013-08-19 15:51:30 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2013-08-19 15:51:30 +0000 |
commit | e00759b29f7a5b4fd72ae2652674aa7bc4781921 (patch) | |
tree | 3e48a7f8d97b95752a2fcbb90b4516ea0b3e0cc8 /sys/dev/uart | |
parent | af6a4d3dba7e85186f23ddf2a8f3eaf9cc20517f (diff) | |
download | FreeBSD-src-e00759b29f7a5b4fd72ae2652674aa7bc4781921.zip FreeBSD-src-e00759b29f7a5b4fd72ae2652674aa7bc4781921.tar.gz |
Allow UART_POLL_FREQ to be set as a kernel option as well as via tunable
(the code was already set up for this, just needs to be in conf/options).
Also, if reporting that polling is being used, report the frequency too.
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_core.c b/sys/dev/uart/uart_core.c index c2f53b8..17dabd7 100644 --- a/sys/dev/uart/uart_core.c +++ b/sys/dev/uart/uart_core.c @@ -537,7 +537,7 @@ uart_bus_attach(device_t dev) sep = ", "; } if (sc->sc_polled) { - printf("%spolled mode", sep); + printf("%spolled mode (%dHz)", sep, uart_poll_freq); sep = ", "; } printf("\n"); |