#
e7bed289 |
| 28-Mar-2022 |
riastradh <riastradh@NetBSD.org> |
driver(9): devsw_detach never fails. Make it return void.
Prune a whole lotta dead branches as a result of this. (Some logic calling this is also wrong for other reasons; devsw_detach is final --
driver(9): devsw_detach never fails. Make it return void.
Prune a whole lotta dead branches as a result of this. (Some logic calling this is also wrong for other reasons; devsw_detach is final -- you should never have any reason to decide to roll it back. To be cleaned up in subsequent commits...)
XXX kernel ABI change to devsw_detach signature requires bump
show more ...
|
#
54853d3d |
| 31-Dec-2021 |
riastradh <riastradh@NetBSD.org> |
sysmon: Delete trailing whitespace. No functional change intended.
|
#
2bf43056 |
| 26-Aug-2019 |
nakayama <nakayama@NetBSD.org> |
Module class of sysmon_envsys, sysmon_wdog and sysmon_power is MODULE_CLASS_DRIVER, not MODULE_CLASS_MISC.
Fix that invoking envsys without sysmon_envsys kernel module failes with: WARNING: module e
Module class of sysmon_envsys, sysmon_wdog and sysmon_power is MODULE_CLASS_DRIVER, not MODULE_CLASS_MISC.
Fix that invoking envsys without sysmon_envsys kernel module failes with: WARNING: module error: incompatible module class for `sysmon_envsys' (1 != 3)
show more ...
|
#
dc68f582 |
| 26-Apr-2019 |
pgoyette <pgoyette@NetBSD.org> |
Set the "required modules" to NULL, not to an empty string.
It really doesn't make that much difference to the code, but the output from modstat(8) is different! (With an empty string in the MODULE
Set the "required modules" to NULL, not to an empty string.
It really doesn't make that much difference to the code, but the output from modstat(8) is different! (With an empty string in the MODULE() macro modstat reports an empty string, but with a NULL in the macro, modstat prints a '-' just like it does for other "empty" fields.)
show more ...
|
#
4c3ee326 |
| 05-May-2015 |
pgoyette <pgoyette@NetBSD.org> |
Optimize a bit - don't re-enter the mutex if we're just going to exit.
While here, remove some parens around a return value.
|
#
58ba35d8 |
| 05-May-2015 |
pgoyette <pgoyette@NetBSD.org> |
If module_autoload() returns an error, just return that value instead of overwriting with ENODEV.
Thanks, christos!
|
#
ed4e2530 |
| 04-May-2015 |
pgoyette <pgoyette@NetBSD.org> |
If autoload of the subcomponent module fails, don't try to call its open routine. Just return an error.
Hopefully this will fix the recently reported issues with atf tests running on xen guest.
|
#
9de73f0b |
| 29-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
At suggestion from riastradh@ ...
Remove auto_configure(9) goop from sysmon device. It does make things a bit cleaner, and also reduces source code by about 10%.
Tested via QEMU with no obvious si
At suggestion from riastradh@ ...
Remove auto_configure(9) goop from sysmon device. It does make things a bit cleaner, and also reduces source code by about 10%.
Tested via QEMU with no obvious side-effects.
show more ...
|
#
66a3d0a3 |
| 25-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
Correctly check return status when registering with pmf
|
#
cdddf9f1 |
| 25-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
Fix typo - thanks, riz@
|
#
768d9729 |
| 25-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
Register the sysmon pseudo-device with power management framework so we can properly suspend the system.
Thanks, mrg, for pointing this out.
|
#
63acdcb5 |
| 24-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
With new (corrected) configuration declarations file, the cdevsw is already included by config. So, for built-in sysmon module we don't need to add the cdevsw to the table.
|
#
8061eede |
| 23-Apr-2015 |
pgoyette <pgoyette@NetBSD.org> |
Modularize sysmon and its components
|
#
f9228f42 |
| 25-Jul-2014 |
dholland <dholland@NetBSD.org> |
Add d_discard to all struct cdevsw instances I could find.
All have been set to "nodiscard"; some should get a real implementation.
|
#
a68f9396 |
| 16-Mar-2014 |
dholland <dholland@NetBSD.org> |
Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found
Change (mostly mechanically) every cdevsw/bdevsw I can find to use designated initializers.
I have not built every extant kernel so I have probably broken at least one build; however I've also found and fixed some wrong cdevsw/bdevsw entries so even if so I think we come out ahead.
show more ...
|
#
b1700faa |
| 03-Mar-2008 |
xtraeme <xtraeme@NetBSD.org> |
Pass D_MPSAFE to d_flag in the cdevsw struct, so that the kernel_lock is not taken in the driver methods.
I've been running with this for some days without any effect.
|
#
0664a045 |
| 04-Jan-2008 |
ad <ad@NetBSD.org> |
Start detangling lock.h from intr.h. This is likely to cause short term breakage, but the mess of dependencies has been regularly breaking the build recently anyhow.
|
#
53524e44 |
| 04-Mar-2007 |
christos <christos@NetBSD.org> |
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
|
#
168cd830 |
| 16-Nov-2006 |
christos <christos@NetBSD.org> |
__unused removal on arguments; approved by core.
|
#
4d595fd7 |
| 12-Oct-2006 |
christos <christos@NetBSD.org> |
- sprinkle __unused on function decls. - fix a couple of unused bugs - no more -Wno-unused for i386
|
#
05bd5641 |
| 03-Sep-2006 |
christos <christos@NetBSD.org> |
add missing initializers
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
d5aece61 |
| 29-Jun-2003 |
fvdl <fvdl@NetBSD.org> |
Back out the lwp/ktrace changes. They contained a lot of colateral damage, and need to be examined and discussed more.
|
#
960df3c8 |
| 28-Jun-2003 |
darrenr <darrenr@NetBSD.org> |
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various fu
Pass lwp pointers throughtout the kernel, as required, so that the lwpid can be inserted into ktrace records. The general change has been to replace "struct proc *" with "struct lwp *" in various function prototypes, pass the lwp through and use l_proc to get the process pointer when needed.
Bump the kernel rev up to 1.6V
show more ...
|
#
5a20f4be |
| 18-Apr-2003 |
thorpej <thorpej@NetBSD.org> |
* Add a generic power management event API, defined in <sys/power.h>. Right now, only power switch state change events are supported. This is a work-in-progress. * Add support to sysmon for deli
* Add a generic power management event API, defined in <sys/power.h>. Right now, only power switch state change events are supported. This is a work-in-progress. * Add support to sysmon for delivering power mangement events to userland. Add poll, kqueue, and read entry points to sysmon. * Adapt ACPI to use the new generic <sys/power.h> event types.
This provides the kernel support for a forthcoming powerd(8) which can do nice things like gracefully shut the system down when an ACPI power button is pressed.
show more ...
|