aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2018-03-16 18:16:27 +0000
committerIan Lepore <ian@FreeBSD.org>2018-03-16 18:16:27 +0000
commit9c45f7b4fdb025b9d9055b654b2c7d8beaa2f6e3 (patch)
tree4e944cba999e953d1c1f40e7f0d24e7140022702 /usr.sbin
parent1ce0264e67677bd38f3badf61ff2600bb1192763 (diff)
downloadsrc-9c45f7b4fdb025b9d9055b654b2c7d8beaa2f6e3.tar.gz
src-9c45f7b4fdb025b9d9055b654b2c7d8beaa2f6e3.zip
Use EFI RTC capabilities info when registering, add bootverbose diagnostics.
Make some small improvements to the efirtc driver by obtaining the clock capabilities (resolution and whether the sub-second counters are reset) and using the info when registering the clock. When the hardware zeroes out the subsecond info on clock-set, schedule clock updates to happen just before top-of-second, so that the RTC time is closely in-sync with kernel time. Also, in the identify() routine, always add the driver if EFI runtime services are available, then decide in probe() whether to attach the driver or not. If not attaching and bootverbose is on, say why. All of this is basically to avoid "silent failure" -- if someone thinks there should be an efi rtc and it's not attaching, at least they can set bootverbose and maybe get a clue from the output. Differential Revision: https://reviews.freebsd.org/D14565 (timed out)
Notes
Notes: svn path=/head/; revision=331068
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions