Module Name: src Committed By: jmcneill Date: Mon Nov 14 11:29:48 UTC 2011
Modified Files: src/sys/arch/x86/x86: platform.c Log Message: add machdep.dmi.bios-date To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/sys/arch/x86/x86/platform.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/x86/x86/platform.c diff -u src/sys/arch/x86/x86/platform.c:1.12 src/sys/arch/x86/x86/platform.c:1.13 --- src/sys/arch/x86/x86/platform.c:1.12 Mon Nov 14 02:44:59 2011 +++ src/sys/arch/x86/x86/platform.c Mon Nov 14 11:29:48 2011 @@ -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 <jmcne...@invisible.ca> @@ -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 @@ platform_add_date(struct smbtable *tbl, year += 1900; sprintf(datestr, "%04u%02u%02u", year, month, day); pmf_set_platform(key, datestr); + platform_create_sysctl(key); } static void