cvs commit: src/sys/conf files src/sys/dev/mc146818 mc146818.c
mc146818reg.h mc146818var.h
Marius Strobl
marius at FreeBSD.org
Wed Nov 17 16:37:25 GMT 2004
marius 2004-11-17 16:37:25 UTC
FreeBSD src repository
Modified files:
sys/conf files
sys/dev/mc146818 mc146818reg.h
Added files:
sys/dev/mc146818 mc146818.c mc146818var.h
Log:
Add a driver back end for MC146818 and compatible clocks based on the
respective NetBSD driver for use with the genclock interface.
It's first use will be on sparc64 but it was also tested on alpha with
a preliminary patch to switch alpha to use the genclock code together
with this driver instead of the respective code in alpha/alpha/clock.c
and the rather MD mcclock(4). Using it on i386 and amd64 won't be that
hard but some changes/extensions to improve the genclock code in general
should be done first, e.g. add locking and make it easier to access the
NVRAM usually coupled with RTCs.
Revision Changes Path
1.970 +1 -0 src/sys/conf/files
1.1 +275 -0 src/sys/dev/mc146818/mc146818.c (new)
1.5 +5 -47 src/sys/dev/mc146818/mc146818reg.h
1.1 +60 -0 src/sys/dev/mc146818/mc146818var.h (new)
More information about the cvs-src
mailing list