Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/x86/x86 add machdep.dmi.bios-date



details:   https://anonhg.NetBSD.org/src/rev/fafa550975ca
branches:  trunk
changeset: 771209:fafa550975ca
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon Nov 14 11:29:48 2011 +0000

description:
add machdep.dmi.bios-date

diffstat:

 sys/arch/x86/x86/platform.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r d80cfd98a09c -r fafa550975ca sys/arch/x86/x86/platform.c
--- a/sys/arch/x86/x86/platform.c       Mon Nov 14 11:28:05 2011 +0000
+++ b/sys/arch/x86/x86/platform.c       Mon Nov 14 11:29:48 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: platform.c,v 1.12 2011/11/14 02:44:59 jmcneill Exp $ */
+/* $NetBSD: platform.c,v 1.13 2011/11/14 11:29:48 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "isa.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.12 2011/11/14 02:44:59 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: platform.c,v 1.13 2011/11/14 11:29:48 jmcneill Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -242,6 +242,7 @@
                year += 1900;
        sprintf(datestr, "%04u%02u%02u", year, month, day);
        pmf_set_platform(key, datestr);
+       platform_create_sysctl(key);
 }
 
 static void



Home | Main Index | Thread Index | Old Index