Date: Thu, 19 May 2005 21:20:42 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/mc146818 mc146818.c mc146818var.h src/sys/sparc64/sparc64 rtc.c Message-ID: <200505192120.j4JLKgW6073709@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-05-19 21:20:42 UTC
FreeBSD src repository
Modified files:
sys/dev/mc146818 mc146818.c mc146818var.h
sys/sparc64/sparc64 rtc.c
Log:
o mc146818(4):
- Add locking.
- Account for if the MC146818_NO_CENT_ADJUST flag is set we don't need
to check wheter year < POSIX_BASE_YEAR.
- Add some comments about mapping the day of week from the range the
generic clock code uses to the range the chip uses and which I meant
to add in the initial version.
- Minor clean-up, use __func__ instead of hardcoded function names in
error strings.
o in the rtc(4) front-end additionally:
- Don't leak resources in case mc146818_attach() fails.
- Account for ebus(4) defaulting to SYS_RES_MEMORY for the memory
resources since ebus.c rev. 1.22.
Revision Changes Path
1.3 +29 -17 src/sys/dev/mc146818/mc146818.c
1.3 +2 -0 src/sys/dev/mc146818/mc146818var.h
1.3 +22 -11 src/sys/sparc64/sparc64/rtc.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505192120.j4JLKgW6073709>
