summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorPaul Irofti <pirofti@cvs.openbsd.org>2014-01-15 10:36:11 +0000
committerPaul Irofti <pirofti@cvs.openbsd.org>2014-01-15 10:36:11 +0000
commit67ede8dacd979c4bab7896bcaccafa50a5da5433 (patch)
treedb299395ec0878f0af2ee92e6ab5f12475c85feb /sys/arch
parentff57e66fb25cc44608649e68f5be7b527b991c55 (diff)
Enable by default the DS1337 TOD clock.
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/octeon/conf/GENERIC4
-rw-r--r--sys/arch/octeon/conf/files.octeon7
2 files changed, 9 insertions, 2 deletions
diff --git a/sys/arch/octeon/conf/GENERIC b/sys/arch/octeon/conf/GENERIC
index 11902522e08..267affd7228 100644
--- a/sys/arch/octeon/conf/GENERIC
+++ b/sys/arch/octeon/conf/GENERIC
@@ -1,4 +1,4 @@
-# $OpenBSD: GENERIC,v 1.11 2013/10/24 20:47:08 pirofti Exp $
+# $OpenBSD: GENERIC,v 1.12 2014/01/15 10:36:10 pirofti Exp $
#
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
@@ -31,6 +31,8 @@ clock0 at mainbus0
iobus0 at mainbus0
uartbus0 at mainbus0
+octrtc0 at mainbus0
+
octcf0 at iobus0
octrng0 at iobus0
diff --git a/sys/arch/octeon/conf/files.octeon b/sys/arch/octeon/conf/files.octeon
index b3809e0f60c..b7a7f41f913 100644
--- a/sys/arch/octeon/conf/files.octeon
+++ b/sys/arch/octeon/conf/files.octeon
@@ -1,4 +1,4 @@
-# $OpenBSD: files.octeon,v 1.16 2013/11/04 14:07:16 deraadt Exp $
+# $OpenBSD: files.octeon,v 1.17 2014/01/15 10:36:10 pirofti Exp $
# Standard stanzas config(8) can't run without
maxpartitions 16
@@ -48,6 +48,11 @@ attach cpu at mainbus
device clock
attach clock at mainbus
+# TOD clock
+device octrtc
+attach octrtc at mainbus
+file arch/octeon/dev/octrtc.c octrtc
+
define iobus {[base = -1]}
device iobus
attach iobus at mainbus