Thu Dec 20 21:38:23 2018 UTC ()
set base_year_is_2k on dsrtc so we're compatible with RISC OS


(macallan)
diff -r1.16 -r1.17 src/sys/arch/iyonix/iyonix/autoconf.c

cvs diff -r1.16 -r1.17 src/sys/arch/iyonix/iyonix/autoconf.c (expand / switch to context diff)
--- src/sys/arch/iyonix/iyonix/autoconf.c 2018/11/21 20:36:41 1.16
+++ src/sys/arch/iyonix/iyonix/autoconf.c 2018/12/20 21:38:23 1.17
@@ -1,4 +1,4 @@
-/*	$NetBSD: autoconf.c,v 1.16 2018/11/21 20:36:41 macallan Exp $	*/
+/*	$NetBSD: autoconf.c,v 1.17 2018/12/20 21:38:23 macallan Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.16 2018/11/21 20:36:41 macallan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: autoconf.c,v 1.17 2018/12/20 21:38:23 macallan Exp $");
 
 #include "opt_md.h"
 
@@ -186,5 +186,9 @@
 		if (bootconfig.log2_bpp == 5)
 			prop_dictionary_set_bool(dict, "is_bgr", 1);
 		prop_dictionary_set_uint32(dict, "address", fbaddr);
+	}
+	if (device_is_a(dev, "dsrtc")) {
+		prop_dictionary_t dict = device_properties(dev);
+		prop_dictionary_set_bool(dict, "base_year_is_2000", 1);
 	}
 }