Date: Wed, 17 Nov 2004 16:37:25 +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/conf files src/sys/dev/mc146818 mc146818.c mc146818reg.h mc146818var.h Message-ID: <200411171637.iAHGbPeZ074077@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411171637.iAHGbPeZ074077>