summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authormarius <marius@FreeBSD.org>2004-11-17 16:37:25 +0000
committermarius <marius@FreeBSD.org>2004-11-17 16:37:25 +0000
commit3cd1a80422813332032b3fd0739f30388a9cc367 (patch)
tree3deba980ae5fd248e1090df36d074fd98e19ca7f /sys/conf
parenta75fe0aac44cb967feb12e888758c3ba4ed2f6ff (diff)
downloadFreeBSD-src-3cd1a80422813332032b3fd0739f30388a9cc367.zip
FreeBSD-src-3cd1a80422813332032b3fd0739f30388a9cc367.tar.gz
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.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 63b12cc..d77e421 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -545,6 +545,7 @@ dev/ncv/ncr53c500_pccard.c optional ncv pccard
dev/nsp/nsp.c optional nsp
dev/nsp/nsp_pccard.c optional nsp card
dev/nsp/nsp_pccard.c optional nsp pccard
+dev/mc146818/mc146818.c optional mc146818
dev/mca/mca_bus.c optional mca
dev/mcd/mcd.c optional mcd isa nowerror
dev/mcd/mcd_isa.c optional mcd isa nowerror
OpenPOWER on IntegriCloud