From 2774e0404e6c83cc801bf5edbedcb8ceb5ee1e16 Mon Sep 17 00:00:00 2001 From: marius Date: Sat, 2 Mar 2013 00:37:31 +0000 Subject: - While Netra X1 generally show no ill effects when registering a power fail interrupt handler, there seems to be either a broken batch of them or a tendency to develop a defect which causes this interrupt to fire inadvertedly. Given that apart from this problem these machines work just fine, add a tunable allowing the setup of the power fail interrupt to be disabled. While at it, remove the DEBUGGER_ON_POWERFAIL compile time option and make that behavior also selectable via the newly added tunable. - Apparently, it's no longer a problem to call shutdown_nice(9) from within an interrupt filter (some other drivers in the tree do the same). So change the power fail interrupt from an handler in order to simplify the code and get rid of a !INTR_MPSAFE handler. - Use NULL instead of 0 for pointers. MFC after: 1 week --- sys/conf/options.sparc64 | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/conf/options.sparc64') diff --git a/sys/conf/options.sparc64 b/sys/conf/options.sparc64 index bc6af5a..883db16 100644 --- a/sys/conf/options.sparc64 +++ b/sys/conf/options.sparc64 @@ -23,7 +23,6 @@ PSM_DEBUG opt_psm.h PSM_HOOKRESUME opt_psm.h PSM_RESETAFTERSUSPEND opt_psm.h -DEBUGGER_ON_POWERFAIL opt_psycho.h PSYCHO_DEBUG opt_psycho.h SCHIZO_DEBUG opt_schizo.h -- cgit v1.1