summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2002-04-04 23:39:10 +0000
committertmm <tmm@FreeBSD.org>2002-04-04 23:39:10 +0000
commit91f571835acb430a421ab7ec0fa5a8fff635b0c8 (patch)
tree734bd8b6a6a2ea0ebcc98eaa281f876fb67ee42d /sys/conf
parentef28acc1beeba42f12fe4399ac5869cf5ebe6a7e (diff)
downloadFreeBSD-src-91f571835acb430a421ab7ec0fa5a8fff635b0c8.zip
FreeBSD-src-91f571835acb430a421ab7ec0fa5a8fff635b0c8.tar.gz
Add a generic implementation of inittodr() and resettodr(), as well as
a set of helper routines to deal with real-time clocks. The generic functions access the clock diver using a kobj interface. This is intended to reduce code reduplication and make it easy to support more than one clock model on a single architecture. This code is currently only used on sparc64, but it is planned to convert the code of the other architectures to it later.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index 2390bb6..c29032f 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -16,6 +16,7 @@ aic7xxx_{seq,reg}.h optional ahc \
dependency "$S/dev/aic7xxx/aic7xxx.{reg,seq} $S/cam/scsi/scsi_message.h aicasm"
kern/device_if.m standard
kern/bus_if.m standard
+kern/clock_if.m optional genclock
kern/linker_if.m standard
cam/cam.c optional scbus
cam/cam_extend.c optional scbus
@@ -838,6 +839,7 @@ kern/md5c.c standard
kern/subr_autoconf.c standard
kern/subr_blist.c standard
kern/subr_bus.c standard
+kern/subr_clock.c optional genclock
kern/subr_devstat.c standard
kern/subr_disk.c standard
kern/subr_disklabel.c standard
OpenPOWER on IntegriCloud