Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/macppc/dev use opt_lmu.h



details:   https://anonhg.NetBSD.org/src/rev/095dad78fccf
branches:  trunk
changeset: 1021799:095dad78fccf
user:      macallan <macallan%NetBSD.org@localhost>
date:      Fri Jun 18 22:52:04 2021 +0000

description:
use opt_lmu.h
while there, remove an obsolete comment

diffstat:

 sys/arch/macppc/dev/lmu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r b6794f0b9fc8 -r 095dad78fccf sys/arch/macppc/dev/lmu.c
--- a/sys/arch/macppc/dev/lmu.c Fri Jun 18 22:24:51 2021 +0000
+++ b/sys/arch/macppc/dev/lmu.c Fri Jun 18 22:52:04 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: lmu.c,v 1.8 2021/01/27 02:17:28 thorpej Exp $ */
+/* $NetBSD: lmu.c,v 1.9 2021/06/18 22:52:04 macallan Exp $ */
 
 /*-
  * Copyright (c) 2020 Michael Lorenz
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: lmu.c,v 1.8 2021/01/27 02:17:28 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: lmu.c,v 1.9 2021/06/18 22:52:04 macallan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -45,6 +45,7 @@
 #include <dev/i2c/i2cvar.h>
 
 #include <dev/sysmon/sysmonvar.h>
+#include "opt_lmu.h"
 
 #ifdef LMU_DEBUG
 #define DPRINTF printf
@@ -208,7 +209,6 @@
 
        sysmon_envsys_register(sc->sc_sme);
 
-       /* TODO: make this adjustable via sysctl */
        sc->sc_thresh = 300;
        sc->sc_hyst = 30;
        sc->sc_level = 16;



Home | Main Index | Thread Index | Old Index