Source-Changes-HG archive

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

[src/trunk]: src/sys Update module dependencies for all the existing modules ...



details:   https://anonhg.NetBSD.org/src/rev/0de03783b69c
branches:  trunk
changeset: 337690:0de03783b69c
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Thu Apr 23 23:23:00 2015 +0000

description:
Update module dependencies for all the existing modules that depend on sysmon components.

diffstat:

 sys/arch/x86/pci/amdtemp.c   |   6 +++---
 sys/arch/x86/x86/coretemp.c  |   6 +++---
 sys/arch/x86/x86/vmt.c       |   4 ++--
 sys/dev/acpi/acpi_acad.c     |   6 +++---
 sys/dev/acpi/acpi_bat.c      |   6 +++---
 sys/dev/acpi/acpi_button.c   |   6 +++---
 sys/dev/acpi/acpi_fan.c      |   6 +++---
 sys/dev/acpi/acpi_lid.c      |   6 +++---
 sys/dev/acpi/acpi_pmtr.c     |   6 +++---
 sys/dev/acpi/acpi_tz.c       |   6 +++---
 sys/dev/acpi/acpi_wdrt.c     |   6 +++---
 sys/dev/acpi/aibs_acpi.c     |   6 +++---
 sys/dev/acpi/asus_acpi.c     |   6 +++---
 sys/dev/acpi/dalb_acpi.c     |   6 +++---
 sys/dev/acpi/fujhk_acpi.c    |   6 +++---
 sys/dev/acpi/hpacel_acpi.c   |   6 +++---
 sys/dev/acpi/hpqlb_acpi.c    |   6 +++---
 sys/dev/acpi/thinkpad_acpi.c |   6 +++---
 sys/dev/acpi/wmi/wmi_dell.c  |   6 +++---
 sys/dev/acpi/wmi/wmi_eeepc.c |   6 +++---
 sys/dev/acpi/wmi/wmi_hp.c    |   6 +++---
 sys/dev/i2c/dbcool.c         |   6 +++---
 sys/dev/i2c/hytp14.c         |   4 ++--
 sys/dev/i2c/sdtemp.c         |   6 +++---
 sys/dev/ic/apple_smc_fan.c   |   6 +++---
 sys/dev/ic/apple_smc_temp.c  |   6 +++---
 sys/dev/ic/nslm7x.c          |   6 +++---
 sys/dev/isa/aps.c            |   6 +++---
 sys/dev/isa/finsio_isa.c     |   6 +++---
 sys/dev/isa/itesio_isa.c     |   6 +++---
 sys/dev/isa/nsclpcsio_isa.c  |   6 +++---
 sys/dev/isa/smsc.c           |   6 +++---
 sys/dev/pci/pwdog.c          |   4 ++--
 sys/dev/sysmon/swsensor.c    |   7 ++++---
 sys/dev/sysmon/swwdog.c      |  15 +++------------
 35 files changed, 103 insertions(+), 111 deletions(-)

diffs (truncated from 966 to 300 lines):

diff -r b7bf59e98e9e -r 0de03783b69c sys/arch/x86/pci/amdtemp.c
--- a/sys/arch/x86/pci/amdtemp.c        Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/arch/x86/pci/amdtemp.c        Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*      $NetBSD: amdtemp.c,v 1.18 2013/11/15 08:47:55 msaitoh Exp $ */
+/*      $NetBSD: amdtemp.c,v 1.19 2015/04/23 23:23:00 pgoyette Exp $ */
 /*      $OpenBSD: kate.c,v 1.2 2008/03/27 04:52:03 cnst Exp $   */
 
 /*
@@ -48,7 +48,7 @@
 
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.18 2013/11/15 08:47:55 msaitoh Exp $ ");
+__KERNEL_RCSID(0, "$NetBSD: amdtemp.c,v 1.19 2015/04/23 23:23:00 pgoyette Exp $ ");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -519,7 +519,7 @@
        edata->value_cur = (value * 125000) + 273150000; /* From C to uK. */
 }
 
-MODULE(MODULE_CLASS_DRIVER, amdtemp, NULL);
+MODULE(MODULE_CLASS_DRIVER, amdtemp, "sysmon_envsys");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/arch/x86/x86/coretemp.c
--- a/sys/arch/x86/x86/coretemp.c       Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/arch/x86/x86/coretemp.c       Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: coretemp.c,v 1.32 2013/11/17 18:08:08 martin Exp $ */
+/* $NetBSD: coretemp.c,v 1.33 2015/04/23 23:23:00 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -61,7 +61,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.32 2013/11/17 18:08:08 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: coretemp.c,v 1.33 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -349,7 +349,7 @@
                edata->state = ENVSYS_SCRITICAL;
 }
 
-MODULE(MODULE_CLASS_DRIVER, coretemp, NULL);
+MODULE(MODULE_CLASS_DRIVER, coretemp, "sysmon_envsys");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/arch/x86/x86/vmt.c
--- a/sys/arch/x86/x86/vmt.c    Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/arch/x86/x86/vmt.c    Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmt.c,v 1.10 2014/07/25 07:12:55 ozaki-r Exp $ */
+/* $NetBSD: vmt.c,v 1.11 2015/04/23 23:23:00 pgoyette Exp $ */
 /* $OpenBSD: vmt.c,v 1.11 2011/01/27 21:29:25 dtucker Exp $ */
 
 /*
@@ -1300,7 +1300,7 @@
  * match the register values to the various constants in this file.
  */
 
-MODULE(MODULE_CLASS_DRIVER, vmt, NULL);
+MODULE(MODULE_CLASS_DRIVER, vmt, "sysmon_power,sysmon_taskq");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_acad.c
--- a/sys/dev/acpi/acpi_acad.c  Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_acad.c  Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_acad.c,v 1.50 2011/06/03 18:40:41 jruoho Exp $    */
+/*     $NetBSD: acpi_acad.c,v 1.51 2015/04/23 23:23:00 pgoyette Exp $  */
 
 /*
  * Copyright 2001 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_acad.c,v 1.50 2011/06/03 18:40:41 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_acad.c,v 1.51 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -285,7 +285,7 @@
        sc->sc_sme = NULL;
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpiacad, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpiacad, "sysmon_envsys,sysmon_power");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_bat.c
--- a/sys/dev/acpi/acpi_bat.c   Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_bat.c   Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_bat.c,v 1.114 2014/12/31 22:01:01 mlelstv Exp $   */
+/*     $NetBSD: acpi_bat.c,v 1.115 2015/04/23 23:23:00 pgoyette Exp $  */
 
 /*-
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -75,7 +75,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_bat.c,v 1.114 2014/12/31 22:01:01 mlelstv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_bat.c,v 1.115 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/condvar.h>
@@ -851,7 +851,7 @@
        *props |= PROP_BATTCAP | PROP_BATTWARN | PROP_DRIVER_LIMITS;
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpibat, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpibat, "sysmon_envsys");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_button.c
--- a/sys/dev/acpi/acpi_button.c        Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_button.c        Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_button.c,v 1.41 2011/02/20 06:59:53 jruoho Exp $  */
+/*     $NetBSD: acpi_button.c,v 1.42 2015/04/23 23:23:00 pgoyette Exp $        */
 
 /*
  * Copyright 2001, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_button.c,v 1.41 2011/02/20 06:59:53 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_button.c,v 1.42 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -200,7 +200,7 @@
        }
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpibut, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpibut, "sysmon_power");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_fan.c
--- a/sys/dev/acpi/acpi_fan.c   Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_fan.c   Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_fan.c,v 1.7 2011/07/22 04:15:05 jruoho Exp $ */
+/*     $NetBSD: acpi_fan.c,v 1.8 2015/04/23 23:23:00 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_fan.c,v 1.7 2011/07/22 04:15:05 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_fan.c,v 1.8 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/module.h>
@@ -228,7 +228,7 @@
        (void)AcpiOsExecute(OSL_NOTIFY_HANDLER, acpifan_sensor_state, self);
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpifan, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpifan, "sysmon_envsys");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_lid.c
--- a/sys/dev/acpi/acpi_lid.c   Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_lid.c   Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_lid.c,v 1.43 2011/02/16 08:35:51 jruoho Exp $     */
+/*     $NetBSD: acpi_lid.c,v 1.44 2015/04/23 23:23:00 pgoyette Exp $   */
 
 /*
  * Copyright 2001, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_lid.c,v 1.43 2011/02/16 08:35:51 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_lid.c,v 1.44 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -173,7 +173,7 @@
        }
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpilid, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpilid, "sysmon_power");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_pmtr.c
--- a/sys/dev/acpi/acpi_pmtr.c  Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_pmtr.c  Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi_pmtr.c,v 1.7 2011/06/21 09:49:05 jruoho Exp $ */
+/*     $NetBSD: acpi_pmtr.c,v 1.8 2015/04/23 23:23:00 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2011 Jukka Ruohonen <jruohonen%iki.fi@localhost>
@@ -27,7 +27,7 @@
  * SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_pmtr.c,v 1.7 2011/06/21 09:49:05 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_pmtr.c,v 1.8 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/module.h>
@@ -505,7 +505,7 @@
        }
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpipmtr, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpipmtr, "sysmon_envsys");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_tz.c
--- a/sys/dev/acpi/acpi_tz.c    Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_tz.c    Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_tz.c,v 1.87 2012/07/29 02:58:27 pgoyette Exp $ */
+/* $NetBSD: acpi_tz.c,v 1.88 2015/04/23 23:23:00 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2003 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.87 2012/07/29 02:58:27 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_tz.c,v 1.88 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -864,7 +864,7 @@
        }
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpitz, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpitz, "sysmon_envsys");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/acpi_wdrt.c
--- a/sys/dev/acpi/acpi_wdrt.c  Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/acpi_wdrt.c  Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_wdrt.c,v 1.3 2013/12/27 18:52:16 christos Exp $ */
+/* $NetBSD: acpi_wdrt.c,v 1.4 2015/04/23 23:23:00 pgoyette Exp $ */
 
 /*
  * Copyright (c) 2011 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -35,7 +35,7 @@
 /* #define ACPIWDRT_DEBUG */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wdrt.c,v 1.3 2013/12/27 18:52:16 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wdrt.c,v 1.4 2015/04/23 23:23:00 pgoyette Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -408,7 +408,7 @@
        return rv;
 }
 
-MODULE(MODULE_CLASS_DRIVER, acpiwdrt, NULL);
+MODULE(MODULE_CLASS_DRIVER, acpiwdrt, "sysmon_wdog");
 
 #ifdef _MODULE
 #include "ioconf.c"
diff -r b7bf59e98e9e -r 0de03783b69c sys/dev/acpi/aibs_acpi.c
--- a/sys/dev/acpi/aibs_acpi.c  Thu Apr 23 23:22:51 2015 +0000
+++ b/sys/dev/acpi/aibs_acpi.c  Thu Apr 23 23:23:00 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aibs_acpi.c,v 1.4 2012/08/14 14:36:43 jruoho Exp $ */
+/* $NetBSD: aibs_acpi.c,v 1.5 2015/04/23 23:23:00 pgoyette Exp $ */
 
 /*-
  * Copyright (c) 2011 The NetBSD Foundation, Inc.
@@ -47,7 +47,7 @@
  */
 



Home | Main Index | Thread Index | Old Index