Source-Changes-HG archive

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

[src/trunk]: src/sys/rump/dev/lib/libsysmon Attach swsensor only once (it att...



details:   https://anonhg.NetBSD.org/src/rev/d7485acf8ea2
branches:  trunk
changeset: 758130:d7485acf8ea2
user:      pooka <pooka%NetBSD.org@localhost>
date:      Wed Oct 20 18:48:13 2010 +0000

description:
Attach swsensor only once (it attaches automatically via MODULE
like everything else that is linked in as a module).

diffstat:

 sys/rump/dev/lib/libsysmon/component.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (24 lines):

diff -r 49832d80e624 -r d7485acf8ea2 sys/rump/dev/lib/libsysmon/component.c
--- a/sys/rump/dev/lib/libsysmon/component.c    Wed Oct 20 17:05:54 2010 +0000
+++ b/sys/rump/dev/lib/libsysmon/component.c    Wed Oct 20 18:48:13 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: component.c,v 1.5 2010/10/19 11:58:01 pgoyette Exp $   */
+/*     $NetBSD: component.c,v 1.6 2010/10/20 18:48:13 pooka Exp $      */
 
 /*
  * Copyright (c) 2010 Antti Kantee.  All Rights Reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.5 2010/10/19 11:58:01 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: component.c,v 1.6 2010/10/20 18:48:13 pooka Exp $");
 
 #include <sys/param.h>
 #include <sys/conf.h>
@@ -79,5 +79,4 @@
        sysmon_wdog_init();
 
        rump_pdev_add(swwdogattach, 0);
-       rump_pdev_add(swsensorattach, 0);
 }



Home | Main Index | Thread Index | Old Index