Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys



Module Name:    src
Committed By:   thorpej
Date:           Wed Jan  1 19:24:03 UTC 2020

Modified Files:
        src/sys/dev: clock_subr.h
        src/sys/dev/ic: mc146818.c mk48txx.c
        src/sys/kern: kern_todr.c

Log Message:
Fix some issues around todr_wenable():
- As previously defined, it was not possible to return an error from the
  back-end RTC driver.  Make it a real function so that it can do so.
- Only the mc146818 and mk48txx drivers used it (for historical reasons).
  Centralize the logic for how it's used in kern_todr.c (and make it private
  to that file) for consistency.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/clock_subr.h
cvs rdiff -u -r1.19 -r1.20 src/sys/dev/ic/mc146818.c
cvs rdiff -u -r1.27 -r1.28 src/sys/dev/ic/mk48txx.c
cvs rdiff -u -r1.42 -r1.43 src/sys/kern/kern_todr.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index