From c04c69b3f9edee63c48a0e4047c11579548ff75e Mon Sep 17 00:00:00 2001 From: pirofti Date: Wed, 15 Jan 2014 10:36:10 +0000 Subject: [PATCH] Enable by default the DS1337 TOD clock. --- sys/arch/octeon/conf/GENERIC | 4 +++- sys/arch/octeon/conf/files.octeon | 7 ++++++- 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 -- 2.20.1